Searched refs:bpf_hdr (Results 1 – 14 of 14) sorted by relevance
234 struct bpf_hdr *hdr; in magic_ping_test()278 hdr = (struct bpf_hdr *)buf; in magic_ping_test()280 ATF_REQUIRE(bufsize > sizeof(struct bpf_hdr)); in magic_ping_test()284 ATF_CHECK(n > (int)sizeof(struct bpf_hdr)); in magic_ping_test()
187 struct bpf_hdr* bpfh = (struct bpf_hdr*) buf; in get_wifi()
146 struct bpf_hdr { struct 155 * will insist on inserting padding; hence, sizeof(struct bpf_hdr) won't work. argument
309 #define bhp ((struct bpf_hdr *)bp) in BpfRead()
207 struct bpf_hdr { struct
2520 hdrlen += SIZEOF_BPF_HDR(struct bpf_hdr); in bpf_hdrlen()2580 struct bpf_hdr hdr_old; in catchpacket()
846 struct bpf_hdr* bpfh; in bpf_input()853 bpfh = (struct bpf_hdr*) buf; in bpf_input()
585 const struct bpf_hdr *hdr; in fix_packets()587 hdr = (const struct bpf_hdr *)ptr; in fix_packets()
401 struct bpf_hdr hdr; in receive_packet()
468 struct bpf_hdr *bpfh = got; in do_verify()
555 #define bhp ((struct bpf_hdr *)bp) in rarp_loop()
95 #define bpf_hdr bpf_hdr32 macro1314 #define bhp ((struct bpf_hdr *)bp) in pcap_read_bpf()
681 #define bhp ((struct bpf_hdr *)bp) in pcap_read_npf()
2297 struct bpf_hdr *bpfh; in get_80211()2307 bpfh = (struct bpf_hdr*) (*data); in get_80211()