Searched refs:packlen (Results 1 – 4 of 4) sorted by relevance
/external/iputils/ |
D | ping.c | 122 int ch, hold, packlen; in main() local 591 packlen = datalen + MAXIPLEN + MAXICMPLEN; in main() 592 if (!(packet = (u_char *)malloc((u_int)packlen))) { in main() 604 main_loop(icmp_sock, packet, packlen); in main()
|
D | ping6.c | 697 int ch, hold, packlen; in main() local 1089 packlen = datalen + 8 + 4096 + 40 + 8; /* 4096 for rthdr */ in main() 1090 if (!(packet = (u_char *)malloc((u_int)packlen))) { in main() 1267 main_loop(icmp_sock, packet, packlen); in main()
|
D | ping_common.c | 726 void main_loop(int icmp_sock, __u8 *packet, int packlen) in main_loop() argument 808 iov.iov_len = packlen; in main_loop()
|
/external/libmtp/src/ |
D | libusb-glue.c | 1348 unsigned int packlen = dtoh32(usbdata.length); in ptp_usb_getdata() local 1349 unsigned int surplen = rlen - packlen; in ptp_usb_getdata() 1354 (uint8_t *) &usbdata + packlen, surplen); in ptp_usb_getdata() 1363 rlen = packlen; in ptp_usb_getdata()
|