Home
last modified time | relevance | path

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

/xnu-8792.41.9/bsd/net/
H A Dbpf.c219 #define BPF_DEV_RESERVED ((struct bpf_d *)(uintptr_t)1)
220 static struct bpf_d **bpf_dtab = NULL;
229 static int bpf_allocbufs(struct bpf_d *);
230 static errno_t bpf_attachd(struct bpf_d *d, struct bpf_if *bp);
231 static int bpf_detachd(struct bpf_d *d);
232 static void bpf_freed(struct bpf_d *);
235 static int bpf_setif(struct bpf_d *, ifnet_t ifp, bool, bool, bool);
237 static void bpf_wakeup(struct bpf_d *);
239 static void catchpacket(struct bpf_d *, struct bpf_packet *, u_int, int);
240 static void reset_d(struct bpf_d *);
[all …]
H A Dbpfdesc.h87 struct bpf_d { struct
88 struct bpf_d *bd_next; /* Linked list of descriptors */ argument
184 struct bpf_d *bif_dlist; /* descriptor list */
/xnu-8792.41.9/tools/lldbmacros/
H A Dnet.py99 bpf_d = ifnet.if_bpf.bif_dlist
105 if bpf_d.bd_hbuf != 0:
106 addr = bpf_d.bd_hbuf[0]._sbval19k84obscure747.AddressOf().GetValueAsUnsigned()
107 hlen = (unsigned(bpf_d.bd_hlen)+(4-1))&~(4-1)
113 addr = bpf_d.bd_sbuf[0]._sbval19k84obscure747.AddressOf().GetValueAsUnsigned()
114 slen = (unsigned(bpf_d.bd_slen)+(4-1))&~(4-1)
/xnu-8792.41.9/security/
H A Dmac_policy.h92 struct bpf_d;