/freebsd-13-stable/sys/net/ |
H A D | bpf_zerocopy.h | 41 void bpf_zerocopy_append_bytes(struct bpf_d *d, caddr_t buf, u_int offset, 43 void bpf_zerocopy_append_mbuf(struct bpf_d *d, caddr_t buf, u_int offset, 45 void bpf_zerocopy_buffull(struct bpf_d *); 46 void bpf_zerocopy_bufheld(struct bpf_d *); 47 void bpf_zerocopy_buf_reclaimed(struct bpf_d *); 48 int bpf_zerocopy_canfreebuf(struct bpf_d *); 49 int bpf_zerocopy_canwritebuf(struct bpf_d *); 50 void bpf_zerocopy_free(struct bpf_d *d); 51 int bpf_zerocopy_ioctl_getzmax(struct thread *td, struct bpf_d *d, 53 int bpf_zerocopy_ioctl_rotzbuf(struct thread *td, struct bpf_d * [all...] |
H A D | bpf_buffer.h | 41 void bpf_buffer_append_bytes(struct bpf_d *d, caddr_t buf, u_int offset, 43 void bpf_buffer_append_mbuf(struct bpf_d *d, caddr_t buf, u_int offset, 45 void bpf_buffer_free(struct bpf_d *d); 46 void bpf_buffer_init(struct bpf_d *d); 47 int bpf_buffer_ioctl_sblen(struct bpf_d *d, u_int *i); 48 int bpf_buffer_uiomove(struct bpf_d *d, caddr_t buf, u_int len,
|
H A D | bpf_buffer.c | 104 bpf_buffer_append_bytes(struct bpf_d *d, caddr_t buf, u_int offset, 117 bpf_buffer_append_mbuf(struct bpf_d *d, caddr_t buf, u_int offset, void *src, 132 bpf_buffer_free(struct bpf_d *d) 153 bpf_buffer_init(struct bpf_d *d) 163 bpf_buffer_ioctl_sblen(struct bpf_d *d, u_int *i) 210 bpf_buffer_uiomove(struct bpf_d *d, caddr_t buf, u_int len, struct uio *uio)
|
H A D | bpf.c | 193 static void bpfd_ref(struct bpf_d *); 194 static void bpfd_rele(struct bpf_d *); 195 static void bpf_attachd(struct bpf_d *, struct bpf_if *); 196 static void bpf_detachd(struct bpf_d *); 197 static void bpf_detachd_locked(struct bpf_d *, bool); 200 struct sockaddr *, int *, struct bpf_d *); 201 static int bpf_setif(struct bpf_d *, struct ifreq *); 204 bpf_wakeup(struct bpf_d *); 205 static void catchpacket(struct bpf_d *, u_char *, u_int, u_int, 206 void (*)(struct bpf_d *, caddr_ [all...] |
H A D | bpf_zerocopy.c | 241 bpf_zerocopy_append_bytes(struct bpf_d *d, caddr_t buf, u_int offset, 293 bpf_zerocopy_append_mbuf(struct bpf_d *d, caddr_t buf, u_int offset, 357 bpf_zerocopy_buffull(struct bpf_d *d) 384 bpf_zerocopy_bufheld(struct bpf_d *d) 407 bpf_zerocopy_buf_reclaimed(struct bpf_d *d) 427 bpf_zerocopy_canfreebuf(struct bpf_d *d) 450 bpf_zerocopy_canwritebuf(struct bpf_d *d) 469 bpf_zerocopy_free(struct bpf_d *d) 491 bpf_zerocopy_ioctl_getzmax(struct thread *td, struct bpf_d *d, size_t *i) 507 bpf_zerocopy_ioctl_rotzbuf(struct thread *td, struct bpf_d * [all...] |
H A D | bpfdesc.h | 56 struct bpf_d { struct 57 CK_LIST_ENTRY(bpf_d) bd_next; /* Linked list of descriptors */
|
H A D | bpf.h | 413 CK_LIST_HEAD(bpfd_list, bpf_d); 420 void bpf_bufheld(struct bpf_d *d);
|
/freebsd-13-stable/sys/security/mac/ |
H A D | mac_net.c | 122 mac_bpfdesc_init(struct bpf_d *d) 203 mac_bpfdesc_destroy(struct bpf_d *d) 316 mac_bpfdesc_create(struct ucred *cred, struct bpf_d *d) 323 mac_bpfdesc_create_mbuf(struct bpf_d *d, struct mbuf *m) 356 MAC_CHECK_PROBE_DEFINE2(bpfdesc_check_receive, "struct bpf_d *", 360 mac_bpfdesc_check_receive(struct bpf_d *d, struct ifnet *ifp)
|
H A D | mac_framework.h | 58 struct bpf_d; 103 int mac_bpfdesc_check_receive(struct bpf_d *d, struct ifnet *ifp); 104 void mac_bpfdesc_create(struct ucred *cred, struct bpf_d *d); 105 void mac_bpfdesc_create_mbuf(struct bpf_d *d, struct mbuf *m); 106 void mac_bpfdesc_destroy(struct bpf_d *); 107 void mac_bpfdesc_init(struct bpf_d *);
|
H A D | mac_policy.h | 72 struct bpf_d; 123 typedef int (*mpo_bpfdesc_check_receive_t)(struct bpf_d *d, 127 struct bpf_d *d, struct label *dlabel); 128 typedef void (*mpo_bpfdesc_create_mbuf_t)(struct bpf_d *d,
|
/freebsd-13-stable/sys/security/mac_ifoff/ |
H A D | mac_ifoff.c | 125 ifoff_bpfdesc_check_receive(struct bpf_d *d, struct label *dlabel,
|
/freebsd-13-stable/sys/security/mac_stub/ |
H A D | mac_stub.c | 171 stub_bpfdesc_check_receive(struct bpf_d *d, struct label *dlabel, 179 stub_bpfdesc_create(struct ucred *cred, struct bpf_d *d, 186 stub_bpfdesc_create_mbuf(struct bpf_d *d, struct label *dlabel,
|
/freebsd-13-stable/sys/security/mac_biba/ |
H A D | mac_biba.c | 775 biba_bpfdesc_check_receive(struct bpf_d *d, struct label *dlabel, 792 biba_bpfdesc_create(struct ucred *cred, struct bpf_d *d, 804 biba_bpfdesc_create_mbuf(struct bpf_d *d, struct label *dlabel,
|
/freebsd-13-stable/sys/security/mac_lomac/ |
H A D | mac_lomac.c | 871 lomac_bpfdesc_check_receive(struct bpf_d *d, struct label *dlabel, 888 lomac_bpfdesc_create(struct ucred *cred, struct bpf_d *d, 900 lomac_bpfdesc_create_mbuf(struct bpf_d *d, struct label *dlabel,
|
/freebsd-13-stable/sys/security/mac_mls/ |
H A D | mac_mls.c | 741 mls_bpfdesc_check_receive(struct bpf_d *d, struct label *dlabel, 758 mls_bpfdesc_create(struct ucred *cred, struct bpf_d *d, struct label *dlabel) 769 mls_bpfdesc_create_mbuf(struct bpf_d *d, struct label *dlabel,
|
/freebsd-13-stable/sys/security/mac_test/ |
H A D | mac_test.c | 165 test_bpfdesc_check_receive(struct bpf_d *d, struct label *dlabel, 178 test_bpfdesc_create(struct ucred *cred, struct bpf_d *d, 189 test_bpfdesc_create_mbuf(struct bpf_d *d, struct label *dlabel,
|