Searched refs:bh_datalen (Results 1 – 10 of 10) sorted by relevance
272 if (the_bpf_header.bh_caplen != the_bpf_header.bh_datalen in ndbootd_raw_read()273 || ((interface_bpf->_ndbootd_interface_bpf_buffer_offset + the_bpf_header.bh_datalen) in ndbootd_raw_read()276 interface_bpf->_ndbootd_interface_bpf_buffer_offset += the_bpf_header.bh_datalen; in ndbootd_raw_read()281 if (the_bpf_header.bh_datalen < sizeof(struct ether_header) in ndbootd_raw_read()288 interface_bpf->_ndbootd_interface_bpf_buffer_offset += the_bpf_header.bh_datalen; in ndbootd_raw_read()292 if (packet_buffer_size < the_bpf_header.bh_datalen) { in ndbootd_raw_read()294 interface_bpf->_ndbootd_interface_bpf_buffer_offset += the_bpf_header.bh_datalen; in ndbootd_raw_read()301 the_bpf_header.bh_datalen); in ndbootd_raw_read()302 interface_bpf->_ndbootd_interface_bpf_buffer_offset += the_bpf_header.bh_datalen; in ndbootd_raw_read()303 return (the_bpf_header.bh_datalen); in ndbootd_raw_read()
186 uint32_t bh_datalen; /* original length of packet */ member194 uint32_t bh_datalen; /* original length of packet */ member
2076 hp32->bh_datalen = pktlen; in catchpacket()2087 hp->bh_datalen = pktlen; in catchpacket()
203 if (rbuf.h.bh_caplen < rbuf.h.bh_datalen) in EtherReceive()
187 if (packet.bh_caplen != packet.bh_datalen) in get_raw_packet()
154 bpf_u_int32 bh_datalen; /* original length of packet */ member
309 datlen = bhp->bh_datalen; in BpfRead()
1138 bpf_filter(p->fcode.bf_insns, datap, bhp->bh_datalen, caplen)) { in pcap_read_bpf()1175 if (bhp->bh_datalen > pad) in pcap_read_bpf()1176 pkthdr.len = bhp->bh_datalen - pad; in pcap_read_bpf()1182 pkthdr.len = bhp->bh_datalen; in pcap_read_bpf()
610 bpf_filter(p->fcode.bf_insns, datap, bhp->bh_datalen, caplen)) { in pcap_read_npf()
511 if (hdr.bh_caplen != hdr.bh_datalen) {