Home
last modified time | relevance | path

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

/xnu-10002.41.9/bsd/net/
H A Dbpf.c1736 bpf_setup(struct bpf_d *d_to, uuid_t uuid_from, ifnet_t ifp) in bpf_setup() argument
1754 if (d_from->bd_opened_by != d_to->bd_opened_by) { in bpf_setup()
1765 while (d_to->bd_hbuf_read || d_to->bd_hbuf_write) { in bpf_setup()
1766 msleep((caddr_t)d_to, bpf_mlock, PRINET, __func__, NULL); in bpf_setup()
1768 d_to->bd_hbuf_read = true; in bpf_setup()
1769 d_to->bd_hbuf_write = true; in bpf_setup()
1780 if (d_to->bd_flags & BPF_CLOSING) { in bpf_setup()
1798 if (d_from->bd_bufsize != d_to->bd_bufsize) { in bpf_setup()
1809 d_to->bd_flags = d_from->bd_flags & (BPF_EXTENDED_HDR | BPF_WANT_PKTAP | in bpf_setup()
1813 d_to->bd_headdrop = d_from->bd_headdrop; in bpf_setup()
[all …]