Searched refs:bd (Results 1 – 2 of 2) sorted by relevance
162 #define bpf_ready(bd) ((bd)->bd_hlen != 0 || \ argument163 (((bd)->bd_immediate || (bd)->bd_state == BPF_TIMED_OUT) && \164 (bd)->bd_slen != 0))
4167 bpfstats_fill_xbpf(struct xbpf_d *d, struct bpf_d *bd) in bpfstats_fill_xbpf() argument4172 d->bd_promisc = bd->bd_promisc != 0 ? 1 : 0; in bpfstats_fill_xbpf()4174 d->bd_hdrcmplt = bd->bd_hdrcmplt != 0 ? 1 : 0; in bpfstats_fill_xbpf()4175 d->bd_async = bd->bd_async != 0 ? 1 : 0; in bpfstats_fill_xbpf()4176 d->bd_headdrop = bd->bd_headdrop != 0 ? 1 : 0; in bpfstats_fill_xbpf()4177 d->bd_seesent = bd->bd_seesent != 0 ? 1 : 0; in bpfstats_fill_xbpf()4178 d->bh_compreq = bd->bd_flags & BPF_COMP_REQ ? 1 : 0; in bpfstats_fill_xbpf()4179 d->bh_compenabled = bd->bd_flags & BPF_COMP_ENABLED ? 1 : 0; in bpfstats_fill_xbpf()4180 d->bd_exthdr = bd->bd_flags & BPF_EXTENDED_HDR ? 1 : 0; in bpfstats_fill_xbpf()4181 d->bd_trunc = bd->bd_flags & BPF_TRUNCATE ? 1 : 0; in bpfstats_fill_xbpf()[all …]