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

/macosx-10.10/xnu-2782.1.97/bsd/net/
H A Dbpfdesc.h84 struct bpf_d { struct
85 struct bpf_d *bd_next; /* Linked list of descriptors */
162 struct bpf_d *bif_dlist; /* descriptor list */
H A Dbpf.c170 * BSD now stores the bpf_d in the dev_t which is a struct
172 * the bpf_d in a separate table indexed by minor device #.
179 static struct bpf_d **bpf_dtab = NULL;
192 static int bpf_allocbufs(struct bpf_d *);
193 static errno_t bpf_attachd(struct bpf_d *d, struct bpf_if *bp);
194 static void bpf_detachd(struct bpf_d *d);
195 static void bpf_freed(struct bpf_d *);
199 static int bpf_setif(struct bpf_d *, ifnet_t ifp, u_int32_t dlt, dev_t);
201 static void bpf_wakeup(struct bpf_d *);
202 static void catchpacket(struct bpf_d *, u_cha
1713 struct bpf_d *bpf_d; local
[all...]
/macosx-10.10/xnu-2782.1.97/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;
150 int mac_bpfdesc_check_receive(struct bpf_d *bpf_d, struct ifnet *ifp);
151 void mac_bpfdesc_label_destroy(struct bpf_d *bpf_d);
152 void mac_bpfdesc_label_init(struct bpf_d *bpf_d);
153 void mac_bpfdesc_label_associate(kauth_cred_t cred, struct bpf_d *bpf_d);
245 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,
1562 @param bpf_d BPF descriptor
1563 @param b_label Policy label for bpf_d
[all...]

Completed in 112 milliseconds