Searched refs:bh_caplen (Results 1 – 4 of 4) sorted by relevance
188 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()
645 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()
68 bpf_u_int32 bh_caplen; /* length of captured portion */ member168 caplen = bhp->bh_caplen; in pcap_read_win32_npf()
258 caplen = bhp->bh_caplen; in pcap_read_bpf()