Home
last modified time | relevance | path

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

/xnu-10063.101.15/bsd/net/
H A Dbpf.c229 #define BPF_DEV_RESERVED ((struct bpf_d *)(uintptr_t)1)
230 static struct bpf_d **bpf_dtab = NULL;
239 static int bpf_allocbufs(struct bpf_d *);
240 static errno_t bpf_attachd(struct bpf_d *d, struct bpf_if *bp);
241 static int bpf_detachd(struct bpf_d *d);
242 static void bpf_freed(struct bpf_d *);
243 static int bpf_setif(struct bpf_d *, ifnet_t ifp, bool, bool, bool);
245 static void bpf_wakeup(struct bpf_d *);
247 static void catchpacket(struct bpf_d *, struct bpf_packet *, u_int, int);
248 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
188 struct bpf_d *bif_dlist; /* descriptor list */
/xnu-10063.101.15/tools/lldbmacros/
H A Dnet.py94 bpf_d = ifnet.if_bpf.bif_dlist
100 if bpf_d.bd_hbuf != 0:
101 addr = bpf_d.bd_hbuf[0].GetSBValue().GetLoadAddress()
102 hlen = (unsigned(bpf_d.bd_hlen)+(4-1))&~(4-1)
108 addr = bpf_d.bd_sbuf[0].GetSBValue().GetLoadAddress()
109 slen = (unsigned(bpf_d.bd_slen)+(4-1))&~(4-1)
/xnu-10063.101.15/security/
H A Dmac_policy.h92 struct bpf_d;