Home
last modified time | relevance | path

Searched refs:bpf (Results 1 – 7 of 7) sorted by relevance

/xnu-11417.121.6/bsd/net/
H A DMakefile31 bpf.h \
56 bpf.h \
108 bpf.h \
H A Dnet.modulemap24 module bpf {
25 header "net/bpf.h"
/xnu-11417.121.6/tests/
H A Dipsec.m8 #import <System/net/bpf.h>
446 snprintf(bpfdev, sizeof(bpfdev), "/dev/bpf%d", i);
484 T_QUIET; T_ASSERT_POSIX_SUCCESS(write(fd, buffer, 500), "bpf write call failed");
490 T_QUIET; T_ASSERT_POSIX_SUCCESS(write(fd, &ip6, sizeof(ip6) - 4), "bpf write call failed");
502 T_QUIET; T_ASSERT_NE(bpf_fd, -1, "failed to create bpf file descriptor");
511 T_QUIET; T_ASSERT_NE(status, -1, "failed to set bpf interface");
514 T_QUIET; T_ASSERT_NE(status, -1, "failed to set bpf header complete");
H A Dnet_bridge.c1124 struct bpf_hdr * bpf = (struct bpf_hdr *)(void *)offset; in switch_port_receive() local
1129 pkt = offset + bpf->bh_hdrlen; in switch_port_receive()
1130 pkt_len = bpf->bh_caplen; in switch_port_receive()
1167 skip = BPF_WORDALIGN(pkt_len + bpf->bh_hdrlen); in switch_port_receive()
/xnu-11417.121.6/bsd/man/man4/
H A DMakefile14 bpf.4 \
/xnu-11417.121.6/bsd/conf/
H A DMakefile.template344 bpf.o_CWARNFLAGS_ADD += -Wno-sign-conversion
548 bpf.o_CWARNFLAGS_ADD += -Wno-vla
H A Dfiles166 bsd/net/bpf.c optional bpfilter bound-checks