Searched defs:packlen (Results 1 - 4 of 4) sorted by relevance

/external/iputils/
H A Dping.c122 int ch, hold, packlen; local
591 packlen = datalen + MAXIPLEN + MAXICMPLEN;
592 if (!(packet = (u_char *)malloc((u_int)packlen))) {
604 main_loop(icmp_sock, packet, packlen);
H A Dping_common.c726 void main_loop(int icmp_sock, __u8 *packet, int packlen) argument
808 iov.iov_len = packlen;
H A Dping6.c697 int ch, hold, packlen; local
1089 packlen = datalen + 8 + 4096 + 40 + 8; /* 4096 for rthdr */
1090 if (!(packet = (u_char *)malloc((u_int)packlen))) {
1267 main_loop(icmp_sock, packet, packlen);
/external/libmtp/src/
H A Dlibusb-glue.c1348 unsigned int packlen = dtoh32(usbdata.length); local
1349 unsigned int surplen = rlen - packlen;
1354 (uint8_t *) &usbdata + packlen, surplen);
1363 rlen = packlen;

Completed in 553 milliseconds