Searched refs:bpf_setif (Results 1 – 8 of 8) sorted by relevance
| /xnu-12377.61.12/tests/ |
| H A D | bpflib.c | 127 bpf_setif(int fd, const char * en_name) in bpf_setif() function 261 if (bpf_setif(fd, en_name) < 0) { in main()
|
| H A D | bpflib.h | 34 int bpf_setif(int fd, const char * en_name);
|
| H A D | bpf_write.c | 171 T_ASSERT_POSIX_SUCCESS(bpf_setif(bpf_fd, ifname), "bpf set if %s", in create_bpf_on_interface()
|
| H A D | net_vlan.c | 327 T_ASSERT_POSIX_SUCCESS(bpf_setif(fd, ifname), "bpf set if %s", in vlan_send_short_packet()
|
| H A D | bpf_write_batch.c | 171 T_ASSERT_POSIX_SUCCESS(bpf_setif(bpf_fd, ifname), "bpf set if %s", in create_bpf_on_interface()
|
| H A D | ipsec.m | 459 bpf_setif(int fd, const char *en_name) function 510 status = bpf_setif(bpf_fd, ifname);
|
| H A D | net_bridge.c | 1246 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 D | bpf.c | 242 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
|