Lines Matching defs:so
59 * domain attachment (if_afdata) so we can track consumers of that service.
402 X_ip_mrouter_set(struct socket *so, struct sockopt *sopt)
411 if (so != V_ip_mrouter && sopt->sopt_name != MRT_INIT)
420 error = ip_mrouter_init(so, optval);
502 X_ip_mrouter_get(struct socket *so, struct sockopt *sopt)
657 ip_mrouter_init(struct socket *so, int version)
661 so->so_type, so->so_proto->pr_protocol);
663 if (so->so_type != SOCK_RAW || so->so_proto->pr_protocol != IPPROTO_IGMP)
691 V_ip_mrouter = so;
1122 if (rt == NULL) { /* no upcall, so make a new entry */
1270 /* Entry exists, so forward if necessary */
1293 * Allocate mbufs early so that we don't do extra work if we are
1294 * just going to fail anyway. Make sure to pullup the header so
1340 /* no upcall, so make a new entry */
1520 * XXX: A PIM-SM router needs the WRONGVIF detection so it
1664 * so that ip_output() only scribbles on the copy.
1708 X_ip_rsvp_vif(struct socket *so __unused, struct sockopt *sopt __unused)
1715 X_ip_rsvp_force_done(struct socket *so __unused)
1962 * scanning for "<=" type of bw_meter entries, so test now
2214 * visited, so we need to increment i at the beginning of the loop.
2378 * new mbuf so we can modify it.
2600 /* m_pullup() may have given us a new mbuf so reset ip. */
2613 * so for compatibility reason perform the checksum over part of the
2724 * to pass to the daemon later, so it can take the appropriate