Home
last modified time | relevance | path

Searched refs:packlen (Results 1 – 7 of 7) sorted by relevance

/external/openssh/
Dpacket.c202 u_int packlen; member
1686 if (state->packlen == 0) { in ssh_packet_read_poll2_mux()
1689 state->packlen = PEEK_U32(cp); in ssh_packet_read_poll2_mux()
1690 if (state->packlen < 4 + 1 || in ssh_packet_read_poll2_mux()
1691 state->packlen > PACKET_MAX_SIZE) in ssh_packet_read_poll2_mux()
1694 need = state->packlen + 4; in ssh_packet_read_poll2_mux()
1699 state->packlen)) != 0 || in ssh_packet_read_poll2_mux()
1708 state->packlen = 0; in ssh_packet_read_poll2_mux()
1744 if (aadlen && state->packlen == 0) { in ssh_packet_read_poll2()
1746 &state->packlen, state->p_read.seqnr, in ssh_packet_read_poll2()
[all …]
/external/iputils/
Dping.c122 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()
Dping6.c697 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()
1265 main_loop(icmp_sock, packet, packlen); in main()
Dping_common.c726 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/
Dlibusb-glue.c1384 unsigned int packlen = dtoh32(usbdata.length); in ptp_usb_getdata() local
1385 unsigned int surplen = rlen - packlen; in ptp_usb_getdata()
1390 (uint8_t *) &usbdata + packlen, surplen); in ptp_usb_getdata()
1399 rlen = packlen; in ptp_usb_getdata()
Dlibusb1-glue.c1409 unsigned int packlen = dtoh32(usbdata.length); in ptp_usb_getdata() local
1410 unsigned int surplen = rlen - packlen; in ptp_usb_getdata()
1415 (uint8_t *) &usbdata + packlen, surplen); in ptp_usb_getdata()
1424 rlen = packlen; in ptp_usb_getdata()
Dlibopenusb1-glue.c1396 unsigned int packlen = dtoh32(usbdata.length); in ptp_usb_getdata() local
1397 unsigned int surplen = rlen - packlen; in ptp_usb_getdata()
1402 (uint8_t *) & usbdata + packlen, surplen); in ptp_usb_getdata()
1411 rlen = packlen; in ptp_usb_getdata()