Home
last modified time | relevance | path

Searched refs:bh_datalen (Results 1 – 10 of 10) sorted by relevance

/netbsd/usr.sbin/ndbootd/config/
H A Dndbootd-bpf.c272 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()
/netbsd/sys/net/
H A Dbpf.h186 uint32_t bh_datalen; /* original length of packet */ member
194 uint32_t bh_datalen; /* original length of packet */ member
H A Dbpf.c2076 hp32->bh_datalen = pktlen; in catchpacket()
2087 hp->bh_datalen = pktlen; in catchpacket()
/netbsd/sys/arch/i386/stand/lib/test/
H A Dether_bpf.c203 if (rbuf.h.bh_caplen < rbuf.h.bh_datalen) in EtherReceive()
/netbsd/usr.bin/rump_dhcpclient/
H A Dbpf.c187 if (packet.bh_caplen != packet.bh_datalen) in get_raw_packet()
/netbsd/external/bsd/ipf/bin/ipftest/
H A Dbpf-ipf.h154 bpf_u_int32 bh_datalen; /* original length of packet */ member
/netbsd/usr.sbin/rbootd/
H A Dbpf.c309 datlen = bhp->bh_datalen; in BpfRead()
/netbsd/external/bsd/libpcap/dist/
H A Dpcap-bpf.c1138 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()
H A Dpcap-npf.c610 bpf_filter(p->fcode.bf_insns, datap, bhp->bh_datalen, caplen)) { in pcap_read_npf()
/netbsd/external/mpl/dhcp/dist/common/
H A Dbpf.c511 if (hdr.bh_caplen != hdr.bh_datalen) {