Home
last modified time | relevance | path

Searched refs:bd (Results 1 – 2 of 2) sorted by relevance

/xnu-8796.121.2/bsd/net/
H A Dbpfdesc.h162 #define bpf_ready(bd) ((bd)->bd_hlen != 0 || \ argument
163 (((bd)->bd_immediate || (bd)->bd_state == BPF_TIMED_OUT) && \
164 (bd)->bd_slen != 0))
H A Dbpf.c4180 bpfstats_fill_xbpf(struct xbpf_d *d, struct bpf_d *bd) in bpfstats_fill_xbpf() argument
4185 d->bd_promisc = bd->bd_promisc != 0 ? 1 : 0; in bpfstats_fill_xbpf()
4187 d->bd_hdrcmplt = bd->bd_hdrcmplt != 0 ? 1 : 0; in bpfstats_fill_xbpf()
4188 d->bd_async = bd->bd_async != 0 ? 1 : 0; in bpfstats_fill_xbpf()
4189 d->bd_headdrop = bd->bd_headdrop != 0 ? 1 : 0; in bpfstats_fill_xbpf()
4190 d->bd_seesent = bd->bd_seesent != 0 ? 1 : 0; in bpfstats_fill_xbpf()
4191 d->bh_compreq = bd->bd_flags & BPF_COMP_REQ ? 1 : 0; in bpfstats_fill_xbpf()
4192 d->bh_compenabled = bd->bd_flags & BPF_COMP_ENABLED ? 1 : 0; in bpfstats_fill_xbpf()
4193 d->bd_exthdr = bd->bd_flags & BPF_EXTENDED_HDR ? 1 : 0; in bpfstats_fill_xbpf()
4194 d->bd_trunc = bd->bd_flags & BPF_TRUNCATE ? 1 : 0; in bpfstats_fill_xbpf()
[all …]