Searched refs:packlen (Results 1 - 8 of 8) sorted by relevance

/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/ppp/pptp/
H A Dpqueue.h21 int packlen; member in struct:pqueue
25 int pqueue_add (int seq, unsigned char *packet, int packlen);
H A Dpqueue.c20 static int pqueue_alloc (int seq, unsigned char *packet, int packlen, pqueue_t **new);
32 static int pqueue_alloc(int seq, unsigned char *packet, int packlen, pqueue_t **new) { argument
36 DEBUG_CMD(log("seq=%d, packlen=%d", seq, packlen););
43 if (newent->capacity >= packlen) {
59 } /* end if capacity >= packlen */
71 DEBUG_CMD(log("realloc capacity %d to %d",newent->capacity, packlen););
73 newent->packet = (unsigned char *)realloc(newent->packet, packlen);
79 newent->capacity = packlen;
99 int size = packlen < MIN_CAPACIT
128 pqueue_add(int seq, unsigned char *packet, int packlen) argument
[all...]
H A Dpptp_gre.c447 status = callback(cl, head->packet, head->packlen);
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/pptp/
H A Dpqueue.h21 int packlen; member in struct:pqueue
25 int pqueue_add (int seq, unsigned char *packet, int packlen);
H A Dpqueue.c20 static int pqueue_alloc (int seq, unsigned char *packet, int packlen, pqueue_t **new);
32 static int pqueue_alloc(int seq, unsigned char *packet, int packlen, pqueue_t **new) { argument
36 DEBUG_CMD(log("seq=%d, packlen=%d", seq, packlen););
43 if (newent->capacity >= packlen) {
59 } /* end if capacity >= packlen */
71 DEBUG_CMD(log("realloc capacity %d to %d",newent->capacity, packlen););
73 newent->packet = (unsigned char *)realloc(newent->packet, packlen);
79 newent->capacity = packlen;
99 int size = packlen < MIN_CAPACIT
128 pqueue_add(int seq, unsigned char *packet, int packlen) argument
[all...]
H A Dpptp_gre.c825 status = callback(cl, head->packet, head->packlen);
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/router/busybox-1.x/networking/udhcp/
H A Ddhcprelay.c260 size_t packlen; local
275 packlen = udhcp_get_packet(&dhcp_msg, fds[0]);
276 if (packlen > 0) {
277 pass_back(&dhcp_msg, packlen, fds);
285 packlen = recvfrom(fds[i], &dhcp_msg, sizeof(dhcp_msg), 0,
287 if (packlen <= 0)
291 pass_on(&dhcp_msg, packlen, i, fds, &client_addr, server_addr);
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/router/busybox-1.x/networking/
H A Dtraceroute.c299 static int packlen; /* total length of packet */ variable
634 packlen - (sizeof(*outip) + optlen));
651 outudp->check = in_cksum((uint16_t *)ui, packlen);
663 nshorts = (unsigned)packlen / sizeof(uint16_t);
665 printf("[ %d bytes", packlen);
672 if (packlen & 1) {
689 packlen, (struct sockaddr *)&whereto, sizeof(whereto));
690 if (cc != packlen) {
691 bb_info_msg("wrote %s %d chars, ret=%d", hostname, packlen, cc);
1012 packlen
[all...]

Completed in 116 milliseconds