Home
last modified time | relevance | path

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

/xnu-8020.140.41/bsd/net/
H A Dbpf.c204 #define BPF_DEV_RESERVED ((struct bpf_d *)(uintptr_t)1)
205 static struct bpf_d **bpf_dtab = NULL;
215 static int bpf_allocbufs(struct bpf_d *);
216 static errno_t bpf_attachd(struct bpf_d *d, struct bpf_if *bp);
217 static int bpf_detachd(struct bpf_d *d, int);
218 static void bpf_freed(struct bpf_d *);
221 static int bpf_setif(struct bpf_d *, ifnet_t ifp, bool, bool);
223 static void bpf_wakeup(struct bpf_d *);
225 static void catchpacket(struct bpf_d *, struct bpf_packet *, u_int, int);
226 static void reset_d(struct bpf_d *);
[all …]
H A Dbpfdesc.h86 struct bpf_d { struct
87 struct bpf_d *bd_next; /* Linked list of descriptors */ argument
179 struct bpf_d *bif_dlist; /* descriptor list */
/xnu-8020.140.41/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 buf = LazyTarget.GetProcess().ReadMemory(addr, unsigned(bpf_d.bd_hlen), err)
112 addr = bpf_d.bd_sbuf[0]._sbval19k84obscure747.AddressOf().GetValueAsUnsigned()
113 buf = LazyTarget.GetProcess().ReadMemory(addr, unsigned(bpf_d.bd_slen), err)
/xnu-8020.140.41/security/
H A Dmac_policy.h91 struct bpf_d;