Home
last modified time | relevance | path

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

/xnu-10002.41.9/bsd/net/
H A Dbpfdesc.h165 #define bpf_ready(bd) ((bd)->bd_hlen != 0 || \ argument
166 (((bd)->bd_immediate || (bd)->bd_state == BPF_TIMED_OUT) && \
167 (bd)->bd_slen != 0))
H A Dbpf.c4468 bpfstats_fill_xbpf(struct xbpf_d *d, struct bpf_d *bd) in bpfstats_fill_xbpf() argument
4473 d->bd_promisc = bd->bd_promisc != 0 ? 1 : 0; in bpfstats_fill_xbpf()
4475 d->bd_hdrcmplt = bd->bd_hdrcmplt != 0 ? 1 : 0; in bpfstats_fill_xbpf()
4476 d->bd_async = bd->bd_async != 0 ? 1 : 0; in bpfstats_fill_xbpf()
4477 d->bd_headdrop = bd->bd_headdrop != 0 ? 1 : 0; in bpfstats_fill_xbpf()
4478 d->bd_direction = (uint8_t)bd->bd_direction; in bpfstats_fill_xbpf()
4479 d->bh_compreq = bd->bd_flags & BPF_COMP_REQ ? 1 : 0; in bpfstats_fill_xbpf()
4480 d->bh_compenabled = bd->bd_flags & BPF_COMP_ENABLED ? 1 : 0; in bpfstats_fill_xbpf()
4481 d->bd_exthdr = bd->bd_flags & BPF_EXTENDED_HDR ? 1 : 0; in bpfstats_fill_xbpf()
4482 d->bd_trunc = bd->bd_flags & BPF_TRUNCATE ? 1 : 0; in bpfstats_fill_xbpf()
[all …]