Home
last modified time | relevance | path

Searched refs:bpf_setif (Results 1 – 8 of 8) sorted by relevance

/xnu-12377.61.12/tests/
H A Dbpflib.c127 bpf_setif(int fd, const char * en_name) in bpf_setif() function
261 if (bpf_setif(fd, en_name) < 0) { in main()
H A Dbpflib.h34 int bpf_setif(int fd, const char * en_name);
H A Dbpf_write.c171 T_ASSERT_POSIX_SUCCESS(bpf_setif(bpf_fd, ifname), "bpf set if %s", in create_bpf_on_interface()
H A Dnet_vlan.c327 T_ASSERT_POSIX_SUCCESS(bpf_setif(fd, ifname), "bpf set if %s", in vlan_send_short_packet()
H A Dbpf_write_batch.c171 T_ASSERT_POSIX_SUCCESS(bpf_setif(bpf_fd, ifname), "bpf set if %s", in create_bpf_on_interface()
H A Dipsec.m459 bpf_setif(int fd, const char *en_name) function
510 status = bpf_setif(bpf_fd, ifname);
H A Dnet_bridge.c1246 T_ASSERT_POSIX_SUCCESS(bpf_setif(fd, ifname), "bpf set if %s", in switch_port_list_add_port()
/xnu-12377.61.12/bsd/net/
H A Dbpf.c242 static int bpf_setif(struct bpf_d *, ifnet_t ifp, bool, bool, bool, struct proc *);
1944 error = bpf_setif(d_to, ifp, false, true, true, proc); in bpf_setup()
2298 error = bpf_setif(d, ifp, true, false, false, proc); in bpfioctl()
2847 bpf_setif(struct bpf_d *d, ifnet_t theywant, bool do_reset, bool has_hbuf_read_write, in bpf_setif() function