/external/libpcap/ |
pcap-septel.c | 89 unsigned short packet_len = 0; local 140 packet_len = m->len; 144 if (caplen > packet_len) { 146 caplen = packet_len; 149 if ((p->fcode.bf_insns == NULL) || bpf_filter(p->fcode.bf_insns, dp, packet_len, caplen)) { 169 pcap_header.len = packet_len;
|
pcap-win32.c | 192 int packet_len = 0, caplen = 0; local 242 packet_len = ATM_SNAPLEN; 250 packet_len = swt - (p->md.dag_fcs_bits); 252 if (caplen > packet_len) 254 caplen = packet_len; 262 packet_len = swt - (p->md.dag_fcs_bits); 264 if (caplen > packet_len) 266 caplen = packet_len; 316 if (bpf_filter(p->fcode.bf_insns, dp, packet_len, caplen) == 0) 326 pcap_header.len = packet_len; [all...] |
pcap-dag.c | 248 unsigned short packet_len = 0; local 287 packet_len = ntohs(header->wlen); 294 caplen = packet_len = ATM_CELL_SIZE; 301 packet_len = ntohs(header->wlen); 307 caplen = packet_len = ATM_CELL_SIZE; 324 packet_len -= ATM_HDR_SIZE; 337 packet_len = ntohs(header->wlen); 338 packet_len -= (p->md.dag_fcs_bits >> 3); 340 if (caplen > packet_len) { 341 caplen = packet_len; [all...] |
pcap-linux.c | 472 int packet_len, caplen; local 509 packet_len = recvfrom( 513 } while (packet_len == -1 && errno == EINTR); 517 if (packet_len == -1) { 586 packet_len += SLL_HDR_LEN; 667 caplen = packet_len; 674 packet_len, caplen) == 0) 689 pcap_header.len = packet_len; [all...] |
/external/ganymed-ssh2/src/main/java/ch/ethz/ssh2/transport/ |
TransportConnection.java | 130 int packet_len = 5 + len + padd; /* Minimum allowed padding is 4 */ local 132 int slack = packet_len % send_padd_blocksize; 136 packet_len += (send_padd_blocksize - slack); 139 if (packet_len < 16) 140 packet_len = 16; 142 int padd_len = packet_len - (5 + len); 174 send_packet_header_buffer[0] = (byte) ((packet_len - 4) >> 24); 175 send_packet_header_buffer[1] = (byte) ((packet_len - 4) >> 16); 176 send_packet_header_buffer[2] = (byte) ((packet_len - 4) >> 8); 177 send_packet_header_buffer[3] = (byte) ((packet_len - 4)) [all...] |
/external/tcpdump/ |
print-olsr.c | 66 u_int8_t packet_len[2]; member in struct:olsr_common 232 length = MIN(length, EXTRACT_16BITS(ptr.common->packet_len));
|
print-isoclns.c | 1747 u_short packet_len,pdu_len; local [all...] |
/external/chromium/third_party/libjingle/source/talk/base/ |
schanneladapter.cc | 508 size_t packet_len = out_buf[0].cbBuffer local 513 message.resize(packet_len); 539 packet_len = out_buf[0].cbBuffer 544 outbuf.insert(outbuf.end(), &message[0], &message[packet_len-1]+1);
|
/external/valgrind/main/coregrind/m_gdbserver/ |
server.c | 757 int packet_len; local 768 packet_len = getpkt (own_buf); 769 if (packet_len <= 0) 895 if (decode_X_packet (&own_buf[1], packet_len - 1, [all...] |
/external/libusb/libusb/os/ |
linux_usbfs.c | 1465 unsigned int packet_len; local [all...] |
/external/libusb_aah/libusb/os/ |
linux_usbfs.c | 1716 unsigned int packet_len; local [all...] |
/external/qemu/ |
net.c | 1483 unsigned int packet_len; member in struct:NetSocketState [all...] |
net-android.c | 1611 unsigned int packet_len; member in struct:NetSocketState [all...] |
/external/dnsmasq/src/ |
dnsmasq.h | 659 size_t packet_len; /* " " */ member in struct:daemon
|