Searched refs:bpf_d (Results 1 – 4 of 4) sorted by relevance
219 #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 …]
87 struct bpf_d { struct88 struct bpf_d *bd_next; /* Linked list of descriptors */ argument184 struct bpf_d *bif_dlist; /* descriptor list */
99 bpf_d = ifnet.if_bpf.bif_dlist105 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)
92 struct bpf_d;