Lines Matching defs:sopt
536 rip6_ctloutput(int op, struct socket *so, struct sockopt *sopt)
540 if (sopt->sopt_level == SOL_SOCKET && sopt->sopt_name == SO_NOHEADER) {
546 error = sockopt_set(sopt, &optval, sizeof(optval));
548 error = sockopt_getint(sopt, &optval);
556 } else if (sopt->sopt_level != IPPROTO_IPV6)
557 return ip6_ctloutput(op, so, sopt);
559 switch (sopt->sopt_name) {
568 error = ip6_mrouter_set(so, sopt);
570 error = ip6_mrouter_get(so, sopt);
575 return ip6_raw_ctloutput(op, so, sopt);
577 return ip6_ctloutput(op, so, sopt);