Home
last modified time | relevance | path

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

/xnu-10063.141.1/bsd/net/
H A Dbpf.c1777 bpf_setup(struct bpf_d *d_to, uuid_t uuid_from, ifnet_t ifp) in bpf_setup() argument
1795 if (d_from->bd_opened_by != d_to->bd_opened_by) { in bpf_setup()
1806 while (d_to->bd_hbuf_read || d_to->bd_hbuf_write) { in bpf_setup()
1807 msleep((caddr_t)d_to, bpf_mlock, PRINET, __func__, NULL); in bpf_setup()
1809 d_to->bd_hbuf_read = true; in bpf_setup()
1810 d_to->bd_hbuf_write = true; in bpf_setup()
1821 if (d_to->bd_flags & BPF_CLOSING) { in bpf_setup()
1839 if (d_from->bd_bufsize != d_to->bd_bufsize) { in bpf_setup()
1850 d_to->bd_flags = d_from->bd_flags & (BPF_EXTENDED_HDR | BPF_WANT_PKTAP | in bpf_setup()
1854 d_to->bd_headdrop = d_from->bd_headdrop; in bpf_setup()
[all …]