Searched refs:d_to (Results 1 – 1 of 1) sorted by relevance
1550 bpf_setup(struct bpf_d *d_to, uuid_t uuid_from, ifnet_t ifp) in bpf_setup() argument1568 if (d_from->bd_opened_by != d_to->bd_opened_by) { in bpf_setup()1579 while (d_to->bd_hbuf_read != 0) { in bpf_setup()1580 msleep((caddr_t)d_to, bpf_mlock, PRINET, __func__, NULL); in bpf_setup()1582 d_to->bd_hbuf_read = 1; in bpf_setup()1592 if (d_to->bd_flags & BPF_CLOSING) { in bpf_setup()1610 if (d_from->bd_bufsize != d_to->bd_bufsize) { in bpf_setup()1621 d_to->bd_flags = d_from->bd_flags & (BPF_EXTENDED_HDR | BPF_WANT_PKTAP | in bpf_setup()1625 d_to->bd_headdrop = d_from->bd_headdrop; in bpf_setup()1630 error = bpf_allocbufs(d_to); in bpf_setup()[all …]