| /f-stack/freebsd/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 *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.c | 931 struct bpf_d *d; in bpfopen() 981 struct bpf_d *d; in bpfread() 1134 struct bpf_d *d = (struct bpf_d *)arg; in bpf_timed_out() 1169 struct bpf_d *d; in bpfwrite() 1357 struct bpf_d *d; in bpfioctl() 2099 struct bpf_d *d; in bpfpoll() 2136 struct bpf_d *d; in bpfkqfilter() 2158 struct bpf_d *d = (struct bpf_d *)kn->kn_hook; in filt_bpfdetach() 2166 struct bpf_d *d = (struct bpf_d *)kn->kn_hook; in filt_bpfread() 2240 struct bpf_d *d; in bpf_tap() [all …]
|
| H A D | bpf_buffer.c | 104 bpf_buffer_append_bytes(struct bpf_d *d, caddr_t buf, u_int offset, in bpf_buffer_append_bytes() 117 bpf_buffer_append_mbuf(struct bpf_d *d, caddr_t buf, u_int offset, void *src, in bpf_buffer_append_mbuf() 132 bpf_buffer_free(struct bpf_d *d) in bpf_buffer_free() 153 bpf_buffer_init(struct bpf_d *d) in bpf_buffer_init() 163 bpf_buffer_ioctl_sblen(struct bpf_d *d, u_int *i) in bpf_buffer_ioctl_sblen() 210 bpf_buffer_uiomove(struct bpf_d *d, caddr_t buf, u_int len, struct uio *uio) in bpf_buffer_uiomove()
|
| H A D | bpf_zerocopy.c | 241 bpf_zerocopy_append_bytes(struct bpf_d *d, caddr_t buf, u_int offset, in bpf_zerocopy_append_bytes() 293 bpf_zerocopy_append_mbuf(struct bpf_d *d, caddr_t buf, u_int offset, in bpf_zerocopy_append_mbuf() 357 bpf_zerocopy_buffull(struct bpf_d *d) in bpf_zerocopy_buffull() 384 bpf_zerocopy_bufheld(struct bpf_d *d) in bpf_zerocopy_bufheld() 407 bpf_zerocopy_buf_reclaimed(struct bpf_d *d) in bpf_zerocopy_buf_reclaimed() 427 bpf_zerocopy_canfreebuf(struct bpf_d *d) in bpf_zerocopy_canfreebuf() 450 bpf_zerocopy_canwritebuf(struct bpf_d *d) in bpf_zerocopy_canwritebuf() 469 bpf_zerocopy_free(struct bpf_d *d) in bpf_zerocopy_free() 491 bpf_zerocopy_ioctl_getzmax(struct thread *td, struct bpf_d *d, size_t *i) in bpf_zerocopy_ioctl_getzmax() 507 bpf_zerocopy_ioctl_rotzbuf(struct thread *td, struct bpf_d *d, in bpf_zerocopy_ioctl_rotzbuf() [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);
|
| /f-stack/freebsd/security/mac/ |
| H A D | mac_net.c | 122 mac_bpfdesc_init(struct bpf_d *d) in mac_bpfdesc_init() 203 mac_bpfdesc_destroy(struct bpf_d *d) in mac_bpfdesc_destroy() 316 mac_bpfdesc_create(struct ucred *cred, struct bpf_d *d) in mac_bpfdesc_create() 323 mac_bpfdesc_create_mbuf(struct bpf_d *d, struct mbuf *m) in mac_bpfdesc_create_mbuf() 360 mac_bpfdesc_check_receive(struct bpf_d *d, struct ifnet *ifp) in mac_bpfdesc_check_receive()
|
| 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,
|
| /f-stack/tools/compat/include/net/ |
| H A D | bpfdesc.h | 55 struct bpf_d { struct 56 CK_LIST_ENTRY(bpf_d) bd_next; /* Linked list of descriptors */
|
| H A D | bpf.h | 412 CK_LIST_HEAD(bpfd_list, bpf_d); 419 void bpf_bufheld(struct bpf_d *d);
|
| /f-stack/freebsd/security/mac_ifoff/ |
| H A D | mac_ifoff.c | 125 ifoff_bpfdesc_check_receive(struct bpf_d *d, struct label *dlabel, in ifoff_bpfdesc_check_receive()
|
| /f-stack/freebsd/security/mac_stub/ |
| H A D | mac_stub.c | 171 stub_bpfdesc_check_receive(struct bpf_d *d, struct label *dlabel, in stub_bpfdesc_check_receive() 179 stub_bpfdesc_create(struct ucred *cred, struct bpf_d *d, in stub_bpfdesc_create() 186 stub_bpfdesc_create_mbuf(struct bpf_d *d, struct label *dlabel, in stub_bpfdesc_create_mbuf()
|
| /f-stack/freebsd/security/mac_lomac/ |
| H A D | mac_lomac.c | 871 lomac_bpfdesc_check_receive(struct bpf_d *d, struct label *dlabel, in lomac_bpfdesc_check_receive() 888 lomac_bpfdesc_create(struct ucred *cred, struct bpf_d *d, in lomac_bpfdesc_create() 900 lomac_bpfdesc_create_mbuf(struct bpf_d *d, struct label *dlabel, in lomac_bpfdesc_create_mbuf()
|
| /f-stack/freebsd/security/mac_biba/ |
| H A D | mac_biba.c | 775 biba_bpfdesc_check_receive(struct bpf_d *d, struct label *dlabel, in biba_bpfdesc_check_receive() 792 biba_bpfdesc_create(struct ucred *cred, struct bpf_d *d, in biba_bpfdesc_create() 804 biba_bpfdesc_create_mbuf(struct bpf_d *d, struct label *dlabel, in biba_bpfdesc_create_mbuf()
|
| /f-stack/freebsd/security/mac_mls/ |
| H A D | mac_mls.c | 741 mls_bpfdesc_check_receive(struct bpf_d *d, struct label *dlabel, in mls_bpfdesc_check_receive() 758 mls_bpfdesc_create(struct ucred *cred, struct bpf_d *d, struct label *dlabel) in mls_bpfdesc_create() 769 mls_bpfdesc_create_mbuf(struct bpf_d *d, struct label *dlabel, in mls_bpfdesc_create_mbuf()
|
| /f-stack/freebsd/security/mac_test/ |
| H A D | mac_test.c | 165 test_bpfdesc_check_receive(struct bpf_d *d, struct label *dlabel, in test_bpfdesc_check_receive() 178 test_bpfdesc_create(struct ucred *cred, struct bpf_d *d, in test_bpfdesc_create() 189 test_bpfdesc_create_mbuf(struct bpf_d *d, struct label *dlabel, in test_bpfdesc_create_mbuf()
|