30 |
uint8 *next_packet; |
uint8 *next_packet; |
31 |
uint32 rdp_shareid; |
uint32 rdp_shareid; |
32 |
|
|
33 |
|
#if WITH_DEBUG |
34 |
|
static uint32 packetno; |
35 |
|
#endif |
36 |
|
|
37 |
/* Initialise an RDP packet */ |
/* Initialise an RDP packet */ |
38 |
static STREAM |
static STREAM |
39 |
rdp_init(int maxlen) |
rdp_init(int maxlen) |
95 |
*type = pdu_type & 0xf; |
*type = pdu_type & 0xf; |
96 |
|
|
97 |
#if WITH_DEBUG |
#if WITH_DEBUG |
98 |
DEBUG(("RDP packet (type %x):\n", *type)); |
DEBUG(("RDP packet #%d, (type %x):\n", ++packetno, *type)); |
99 |
hexdump(next_packet, length); |
hexdump(next_packet, length); |
100 |
#endif /* */ |
#endif /* */ |
101 |
|
|