Home
last modified time | relevance | path

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

/xnu-8019.80.24/bsd/net/
H A DMakefile23 bpf.h \
49 bpf.h \
100 bpf.h \
H A Dnet.modulemap24 module bpf {
25 header "net/bpf.h"
/xnu-8019.80.24/tests/
H A Dipsec.m8 #import <System/net/bpf.h>
437 snprintf(bpfdev, sizeof(bpfdev), "/dev/bpf%d", i);
475 T_QUIET; T_ASSERT_POSIX_SUCCESS(write(fd, buffer, 500), "bpf write call failed");
481 T_QUIET; T_ASSERT_POSIX_SUCCESS(write(fd, &ip6, sizeof(ip6) - 4), "bpf write call failed");
493 T_QUIET; T_ASSERT_NE(bpf_fd, -1, "failed to create bpf file descriptor");
502 T_QUIET; T_ASSERT_NE(status, -1, "failed to set bpf interface");
505 T_QUIET; T_ASSERT_NE(status, -1, "failed to set bpf header complete");
H A Dnet_bridge.c1675 struct bpf_hdr * bpf = (struct bpf_hdr *)(void *)offset; in switch_port_receive() local
1680 pkt = offset + bpf->bh_hdrlen; in switch_port_receive()
1681 pkt_len = bpf->bh_caplen; in switch_port_receive()
1718 skip = BPF_WORDALIGN(pkt_len + bpf->bh_hdrlen); in switch_port_receive()
/xnu-8019.80.24/bsd/man/man4/
H A DMakefile14 bpf.4 \
/xnu-8019.80.24/bsd/conf/
H A DMakefile.template355 bpf.o_CWARNFLAGS_ADD += -Wno-sign-conversion
H A Dfiles216 bsd/net/bpf.c optional bpfilter