Home
last modified time | relevance | path

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

/xnu-11417.121.6/bsd/net/
H A Dbpfdesc.h177 #define bpf_ready(bd) ((bd)->bd_hlen != 0 || \ argument
178 (((bd)->bd_immediate || (bd)->bd_state == BPF_TIMED_OUT) && \
179 (bd)->bd_slen != 0))
H A Dbpf.c4602 bpfstats_fill_xbpf(struct xbpf_d *d, struct bpf_d *bd) in bpfstats_fill_xbpf() argument
4607 d->bd_promisc = bd->bd_promisc != 0 ? 1 : 0; in bpfstats_fill_xbpf()
4609 d->bd_hdrcmplt = bd->bd_hdrcmplt != 0 ? 1 : 0; in bpfstats_fill_xbpf()
4610 d->bd_async = bd->bd_async != 0 ? 1 : 0; in bpfstats_fill_xbpf()
4611 d->bd_headdrop = bd->bd_headdrop != 0 ? 1 : 0; in bpfstats_fill_xbpf()
4612 d->bd_direction = (uint8_t)bd->bd_direction; in bpfstats_fill_xbpf()
4613 d->bh_compreq = bd->bd_flags & BPF_COMP_REQ ? 1 : 0; in bpfstats_fill_xbpf()
4614 d->bh_compenabled = bd->bd_flags & BPF_COMP_ENABLED ? 1 : 0; in bpfstats_fill_xbpf()
4615 d->bd_exthdr = bd->bd_flags & BPF_EXTENDED_HDR ? 1 : 0; in bpfstats_fill_xbpf()
4616 d->bd_trunc = bd->bd_flags & BPF_TRUNCATE ? 1 : 0; in bpfstats_fill_xbpf()
[all …]