version 1.116, 2004/10/20 11:48:53 |
version 1.117, 2005/06/17 02:44:32 |
|
|
static u_int packet_length = 0; |
static u_int packet_length = 0; |
u_int padlen, need; |
u_int padlen, need; |
u_char *macbuf, *cp, type; |
u_char *macbuf, *cp, type; |
int maclen, block_size; |
u_int maclen, block_size; |
Enc *enc = NULL; |
Enc *enc = NULL; |
Mac *mac = NULL; |
Mac *mac = NULL; |
Comp *comp = NULL; |
Comp *comp = NULL; |
|
|
} |
} |
|
|
void * |
void * |
packet_get_raw(int *length_ptr) |
packet_get_raw(u_int *length_ptr) |
{ |
{ |
int bytes = buffer_len(&incoming_packet); |
u_int bytes = buffer_len(&incoming_packet); |
|
|
if (length_ptr != NULL) |
if (length_ptr != NULL) |
*length_ptr = bytes; |
*length_ptr = bytes; |