Searched refs:bpf_d (Results 1 - 5 of 5) sorted by relevance

/xnu-2422.115.4/bsd/net/
H A Dbpfdesc.h84 struct bpf_d { struct
85 struct bpf_d *bd_next; /* Linked list of descriptors */
157 struct bpf_d *bif_dlist; /* descriptor list */
H A Dbpf.c161 * BSD now stores the bpf_d in the dev_t which is a struct
163 * the bpf_d in a separate table indexed by minor device #.
170 static struct bpf_d **bpf_dtab = NULL;
183 static int bpf_allocbufs(struct bpf_d *);
184 static errno_t bpf_attachd(struct bpf_d *d, struct bpf_if *bp);
185 static void bpf_detachd(struct bpf_d *d);
186 static void bpf_freed(struct bpf_d *);
190 static int bpf_setif(struct bpf_d *, ifnet_t ifp, u_int32_t dlt, dev_t);
192 static void bpf_wakeup(struct bpf_d *);
193 static void catchpacket(struct bpf_d *, u_cha
1629 struct bpf_d *bpf_d; local
[all...]
/xnu-2422.115.4/security/
H A Dmac_net.c118 mac_bpfdesc_label_init(struct bpf_d *bpf_d) argument
123 mac_bpfdesc_label_set(bpf_d, label);
173 mac_bpfdesc_label_destroy(struct bpf_d *bpf_d) argument
177 label = mac_bpfdesc_label_get(bpf_d);
179 mac_bpfdesc_label_set(bpf_d, NULL);
278 mac_bpfdesc_label_associate(struct ucred *cred, struct bpf_d *bpf_d) argument
282 label = mac_bpfdesc_label_get(bpf_d);
287 mac_bpfdesc_check_receive(struct bpf_d *bpf_d, struct ifnet *ifp) argument
327 mac_mbuf_label_associate_bpfdesc(struct bpf_d *bpf_d, struct mbuf *mbuf) argument
[all...]
H A Dmac_framework.h86 struct bpf_d;
157 int mac_bpfdesc_check_receive(struct bpf_d *bpf_d, struct ifnet *ifp);
158 void mac_bpfdesc_label_destroy(struct bpf_d *bpf_d);
159 void mac_bpfdesc_label_init(struct bpf_d *bpf_d);
160 void mac_bpfdesc_label_associate(kauth_cred_t cred, struct bpf_d *bpf_d);
248 void mac_mbuf_label_associate_bpfdesc(struct bpf_d *bpf_
[all...]
H A Dmac_policy.h91 struct bpf_d;
266 @param bpf_d The BPF descriptor
275 struct bpf_d *bpf_d,
280 @param bpf_d Subject; the BPF descriptor
281 @param bpflabel Policy label for bpf_d
292 struct bpf_d *bpf_d,
1508 @param bpf_d BPF descriptor
1509 @param b_label Policy label for bpf_d
[all...]

Completed in 190 milliseconds