Home
last modified time | relevance | path

Searched refs:bh_caplen (Results 1 – 4 of 4) sorted by relevance

/external/dhcpcd/
Dbpf.c188 if (packet.bh_caplen != packet.bh_datalen) in get_raw_packet()
190 if (iface->buffer_pos + packet.bh_caplen + packet.bh_hdrlen > in get_raw_packet()
194 bytes = packet.bh_caplen - ETHER_HDR_LEN; in get_raw_packet()
200 packet.bh_caplen); in get_raw_packet()
/external/ppp/pppd/plugins/rp-pppoe/
Dif.c645 if (hdr.bh_caplen != hdr.bh_datalen) { in receivePacket()
647 hdr.bh_caplen, hdr.bh_datalen); in receivePacket()
651 seglen = hdr.bh_hdrlen + hdr.bh_caplen; in receivePacket()
659 *size = copylen = ((hdr.bh_caplen < sizeof(PPPoEPacket)) ? in receivePacket()
660 hdr.bh_caplen : sizeof(PPPoEPacket)); in receivePacket()
/external/libpcap/
Dpcap-win32.c68 bpf_u_int32 bh_caplen; /* length of captured portion */ member
168 caplen = bhp->bh_caplen; in pcap_read_win32_npf()
Dpcap-bpf.c258 caplen = bhp->bh_caplen; in pcap_read_bpf()