Lines Matching refs:so
253 * this check has already done in ip6_unknown_opt(), so we can
1377 * so it rarely varies in the defined qtypes.
1856 * address configuration by DHCPv6, so the former
2731 icmp6_ctloutput(so, sopt)
2732 struct socket *so;
2737 struct inpcb *inp = sotoinpcb(so);
2810 icmp6_dgram_ctloutput(struct socket *so, struct sockopt *sopt)
2812 if (so->so_uid == 0)
2813 return icmp6_ctloutput(so, sopt);
2818 return icmp6_ctloutput(so, sopt);
2845 return ip6_ctloutput(so, sopt);
2855 icmp6_dgram_send(struct socket *so, __unused int flags, struct mbuf *m, struct sockaddr *nam,
2859 struct inpcb *inp = sotoinpcb(so);
2864 if (so->so_uid == 0)
2865 return rip6_output(m, so, (struct sockaddr_in6 *) nam, control);
2868 if (so->so_state & SS_ISCONNECTED) {
2892 if (so->so_proto->pr_protocol == IPPROTO_ICMPV6) {
2916 return rip6_output(m, so, (struct sockaddr_in6 *) nam, control);
2924 icmp6_dgram_attach(struct socket *so, int proto, struct proc *p)
2929 inp = sotoinpcb(so);
2936 error = soreserve(so, rip_sendspace, rip_recvspace);
2939 error = in_pcballoc(so, &ripcbinfo, p);
2942 inp = (struct inpcb *)so->so_pcb;
2987 * Check for 0,0 so that the message will be seen at least once.
3016 * so the above #if is #if 1, not #ifdef DIAGNOSTIC.