/*
* Copyright 1995, 1996 Perforce Software. All rights reserved.
*
* This file is part of Perforce - the FAST SCM System.
*/
/*
* -vnet=1 show listen/connect/disconnect
* -vnet=4 show details of transport operations
* -vnet=5 show send/receive buffer contents
*
* -vssl=1 show listen/connect/disconnect
* -vssl=2 show details of libssl & libcrypto function calls
* -vssl=5 show ssl buffer status
*/
# define DEBUG_CONNECT ( p4debug.GetLevel( DT_NET ) >= 1 )
# define DEBUG_TRANS ( p4debug.GetLevel( DT_NET ) >= 4 )
# define DEBUG_BUFFER ( p4debug.GetLevel( DT_NET ) >= 5 )
# define SSLDEBUG_ERROR ( p4debug.GetLevel( DT_SSL ) >= 1 )
# define SSLDEBUG_CONNECT ( p4debug.GetLevel( DT_SSL ) >= 1 )
# define SSLDEBUG_FUNCTION ( p4debug.GetLevel( DT_SSL ) >= 2 )
# define SSLDEBUG_TRANS ( p4debug.GetLevel( DT_SSL ) >= 4 )
# define SSLDEBUG_BUFFER ( p4debug.GetLevel( DT_SSL ) >= 5 )
/*
* TRANSPORT_PRINT* are debug macros for use with both Tcp and Ssl
* EndPoints and Transports. The debug messages for are prepended
* with the type of interface ("from client" or "to server").
*/
# define TRANSPORT_PRINT(level, msg) \
do \
{ \
if( level ) \
p4debug.printf( "%s " msg "\n", isAccepted? "-> ": "<- "); \
} while(0);
# define TRANSPORT_PRINTF( level, msg, ... ) \
do \
{ \
if( level ) \
p4debug.printf( "%s " msg "\n", isAccepted? "-> ": "<- ", __VA_ARGS__ ); \
} while(0);
# |
Change |
User |
Description |
Committed |
|
#1
|
15903 |
Matt Attaway |
Everything should be happy now between the Workshop and the depot paths |
|
|
//guest/perforce_software/p4/2014_2/net/netdebug.h |
#1
|
15901 |
Matt Attaway |
Clean up code to fit modern Workshop naming standards |
|
|
//guest/perforce_software/p4/2014.2/net/netdebug.h |
#1
|
12189 |
Matt Attaway |
Initial (and much belated) drop of 2014.2 p4 source code |
|
|