Lines Matching defs:so
592 struct socket *so;
605 so = (struct socket *)fp->f_fglob->fg_data;
606 if (INP_CHECK_SOCKAF(so, PF_INET)) {
607 if (so->so_pcb == NULL)
610 so->so_type;
612 INP_SOCKAF(so);
614 so->so_proto->pr_protocol;
615 pcb = (struct inpcb *)so->so_pcb;
626 if (INP_CHECK_SOCKAF(so, PF_INET6)) {
627 if (so->so_pcb == NULL)
630 so->so_type;
632 INP_SOCKAF(so);
634 so->so_proto->pr_protocol;
635 pcb = (struct inpcb *)so->so_pcb;