Lines Matching defs:packet_len
248 unsigned short packet_len = 0;
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;
352 packet_len = ntohs(header->wlen);
353 packet_len -= (p->md.dag_fcs_bits >> 3);
355 if (caplen > packet_len) {
356 caplen = packet_len;
364 packet_len = ntohs(header->wlen);
365 packet_len -= (p->md.dag_fcs_bits >> 3);
367 if (caplen > packet_len) {
368 caplen = packet_len;
375 packet_len += MTP2_HDR_LEN;
434 if ((p->fcode.bf_insns == NULL) || bpf_filter(p->fcode.bf_insns, dp, packet_len, caplen)) {
456 pcap_header.len = packet_len;