Lines Matching defs:packet_len
192 int packet_len = 0, caplen = 0;
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;