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

/darwin-on-arm/xnu/bsd/net/
H A Dbpfdesc.h84 struct bpf_d { struct
85 struct bpf_d *bd_next; /* Linked list of descriptors */
156 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;
187 static int bpf_allocbufs(struct bpf_d *);
188 static errno_t bpf_attachd(struct bpf_d *d, struct bpf_if *bp);
189 static void bpf_detachd(struct bpf_d *d);
190 static void bpf_freed(struct bpf_d *);
194 static int bpf_setif(struct bpf_d *, ifnet_t ifp, u_int32_t dlt);
196 static void bpf_wakeup(struct bpf_d *);
197 static void catchpacket(struct bpf_d *, u_cha
[all...]
/darwin-on-arm/xnu/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.h84 struct bpf_d;
152 int mac_bpfdesc_check_receive(struct bpf_d *bpf_d, struct ifnet *ifp);
153 void mac_bpfdesc_label_destroy(struct bpf_d *bpf_d);
154 void mac_bpfdesc_label_init(struct bpf_d *bpf_d);
155 void mac_bpfdesc_label_associate(kauth_cred_t cred, struct bpf_d *bpf_d);
243 void mac_mbuf_label_associate_bpfdesc(struct bpf_d *bpf_
[all...]
H A Dmac_policy.h87 struct bpf_d;
256 @param bpf_d The BPF descriptor
265 struct bpf_d *bpf_d,
270 @param bpf_d Subject; the BPF descriptor
271 @param bpflabel Policy label for bpf_d
282 struct bpf_d *bpf_d,
1486 @param bpf_d BPF descriptor
1487 @param b_label Policy label for bpf_d
[all...]

Completed in 90 milliseconds