Home
last modified time | relevance | path

Searched refs:bpf_d (Results 1 – 16 of 16) sorted by relevance

/freebsd-14.2/sys/net/
H A Dbpf_zerocopy.h39 void bpf_zerocopy_append_bytes(struct bpf_d *d, caddr_t buf, u_int offset,
41 void bpf_zerocopy_append_mbuf(struct bpf_d *d, caddr_t buf, u_int offset,
43 void bpf_zerocopy_buffull(struct bpf_d *);
44 void bpf_zerocopy_bufheld(struct bpf_d *);
45 void bpf_zerocopy_buf_reclaimed(struct bpf_d *);
46 int bpf_zerocopy_canfreebuf(struct bpf_d *);
47 int bpf_zerocopy_canwritebuf(struct bpf_d *);
48 void bpf_zerocopy_free(struct bpf_d *d);
49 int bpf_zerocopy_ioctl_getzmax(struct thread *td, struct bpf_d *d,
51 int bpf_zerocopy_ioctl_rotzbuf(struct thread *td, struct bpf_d *d,
[all …]
H A Dbpf_buffer.h39 void bpf_buffer_append_bytes(struct bpf_d *d, caddr_t buf, u_int offset,
41 void bpf_buffer_append_mbuf(struct bpf_d *d, caddr_t buf, u_int offset,
43 void bpf_buffer_free(struct bpf_d *d);
44 void bpf_buffer_init(struct bpf_d *d);
45 int bpf_buffer_ioctl_sblen(struct bpf_d *d, u_int *i);
46 int bpf_buffer_uiomove(struct bpf_d *d, caddr_t buf, u_int len,
H A Dbpf.c944 struct bpf_d *d; in bpfopen()
997 struct bpf_d *d; in bpfread()
1150 struct bpf_d *d = (struct bpf_d *)arg; in bpf_timed_out()
1185 struct bpf_d *d; in bpfwrite()
1377 struct bpf_d *d; in bpfioctl()
2132 struct bpf_d *d; in bpfpoll()
2169 struct bpf_d *d; in bpfkqfilter()
2202 struct bpf_d *d = (struct bpf_d *)kn->kn_hook; in filt_bpfdetach()
2210 struct bpf_d *d = (struct bpf_d *)kn->kn_hook; in filt_bpfread()
2234 struct bpf_d *d = (struct bpf_d *)kn->kn_hook; in filt_bpfwrite()
[all …]
H A Dbpf_buffer.c102 bpf_buffer_append_bytes(struct bpf_d *d, caddr_t buf, u_int offset, in bpf_buffer_append_bytes()
115 bpf_buffer_append_mbuf(struct bpf_d *d, caddr_t buf, u_int offset, void *src, in bpf_buffer_append_mbuf()
130 bpf_buffer_free(struct bpf_d *d) in bpf_buffer_free()
151 bpf_buffer_init(struct bpf_d *d) in bpf_buffer_init()
161 bpf_buffer_ioctl_sblen(struct bpf_d *d, u_int *i) in bpf_buffer_ioctl_sblen()
208 bpf_buffer_uiomove(struct bpf_d *d, caddr_t buf, u_int len, struct uio *uio) in bpf_buffer_uiomove()
H A Dbpf_zerocopy.c239 bpf_zerocopy_append_bytes(struct bpf_d *d, caddr_t buf, u_int offset, in bpf_zerocopy_append_bytes()
291 bpf_zerocopy_append_mbuf(struct bpf_d *d, caddr_t buf, u_int offset, in bpf_zerocopy_append_mbuf()
355 bpf_zerocopy_buffull(struct bpf_d *d) in bpf_zerocopy_buffull()
382 bpf_zerocopy_bufheld(struct bpf_d *d) in bpf_zerocopy_bufheld()
405 bpf_zerocopy_buf_reclaimed(struct bpf_d *d) in bpf_zerocopy_buf_reclaimed()
425 bpf_zerocopy_canfreebuf(struct bpf_d *d) in bpf_zerocopy_canfreebuf()
448 bpf_zerocopy_canwritebuf(struct bpf_d *d) in bpf_zerocopy_canwritebuf()
467 bpf_zerocopy_free(struct bpf_d *d) in bpf_zerocopy_free()
489 bpf_zerocopy_ioctl_getzmax(struct thread *td, struct bpf_d *d, size_t *i) in bpf_zerocopy_ioctl_getzmax()
505 bpf_zerocopy_ioctl_rotzbuf(struct thread *td, struct bpf_d *d, in bpf_zerocopy_ioctl_rotzbuf()
[all …]
H A Dbpfdesc.h54 struct bpf_d { struct
55 CK_LIST_ENTRY(bpf_d) bd_next; /* Linked list of descriptors */
H A Dbpf.h413 CK_LIST_HEAD(bpfd_list, bpf_d);
420 void bpf_bufheld(struct bpf_d *d);
/freebsd-14.2/sys/security/mac/
H A Dmac_net.c120 mac_bpfdesc_init(struct bpf_d *d) in mac_bpfdesc_init()
201 mac_bpfdesc_destroy(struct bpf_d *d) in mac_bpfdesc_destroy()
314 mac_bpfdesc_create(struct ucred *cred, struct bpf_d *d) in mac_bpfdesc_create()
321 mac_bpfdesc_create_mbuf(struct bpf_d *d, struct mbuf *m) in mac_bpfdesc_create_mbuf()
355 mac_bpfdesc_check_receive(struct bpf_d *d, struct ifnet *ifp) in mac_bpfdesc_check_receive()
H A Dmac_framework.h56 struct bpf_d;
107 int mac_bpfdesc_check_receive(struct bpf_d *d, struct ifnet *ifp);
108 void mac_bpfdesc_create(struct ucred *cred, struct bpf_d *d);
109 void mac_bpfdesc_create_mbuf(struct bpf_d *d, struct mbuf *m);
110 void mac_bpfdesc_destroy(struct bpf_d *);
111 void mac_bpfdesc_init(struct bpf_d *);
H A Dmac_policy.h72 struct bpf_d;
128 typedef int (*mpo_bpfdesc_check_receive_t)(struct bpf_d *d,
132 struct bpf_d *d, struct label *dlabel);
133 typedef void (*mpo_bpfdesc_create_mbuf_t)(struct bpf_d *d,
/freebsd-14.2/sys/security/mac_ifoff/
H A Dmac_ifoff.c123 ifoff_bpfdesc_check_receive(struct bpf_d *d, struct label *dlabel, in ifoff_bpfdesc_check_receive()
/freebsd-14.2/sys/security/mac_stub/
H A Dmac_stub.c172 stub_bpfdesc_check_receive(struct bpf_d *d, struct label *dlabel, in stub_bpfdesc_check_receive()
180 stub_bpfdesc_create(struct ucred *cred, struct bpf_d *d, in stub_bpfdesc_create()
187 stub_bpfdesc_create_mbuf(struct bpf_d *d, struct label *dlabel, in stub_bpfdesc_create_mbuf()
/freebsd-14.2/sys/security/mac_lomac/
H A Dmac_lomac.c879 lomac_bpfdesc_check_receive(struct bpf_d *d, struct label *dlabel, in lomac_bpfdesc_check_receive()
896 lomac_bpfdesc_create(struct ucred *cred, struct bpf_d *d, in lomac_bpfdesc_create()
908 lomac_bpfdesc_create_mbuf(struct bpf_d *d, struct label *dlabel, in lomac_bpfdesc_create_mbuf()
/freebsd-14.2/sys/security/mac_test/
H A Dmac_test.c165 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()
/freebsd-14.2/sys/security/mac_mls/
H A Dmac_mls.c739 mls_bpfdesc_check_receive(struct bpf_d *d, struct label *dlabel, in mls_bpfdesc_check_receive()
756 mls_bpfdesc_create(struct ucred *cred, struct bpf_d *d, struct label *dlabel) in mls_bpfdesc_create()
767 mls_bpfdesc_create_mbuf(struct bpf_d *d, struct label *dlabel, in mls_bpfdesc_create_mbuf()
/freebsd-14.2/sys/security/mac_biba/
H A Dmac_biba.c773 biba_bpfdesc_check_receive(struct bpf_d *d, struct label *dlabel, in biba_bpfdesc_check_receive()
790 biba_bpfdesc_create(struct ucred *cred, struct bpf_d *d, in biba_bpfdesc_create()
802 biba_bpfdesc_create_mbuf(struct bpf_d *d, struct label *dlabel, in biba_bpfdesc_create_mbuf()