Changeset View
Changeset View
Standalone View
Standalone View
sys/netinet6/ip6_mroute.c
Show First 20 Lines • Show All 1,032 Lines • ▼ Show 20 Lines | |||||
{ | { | ||||
if (s) { | if (s) { | ||||
if (sbappendaddr(&s->so_rcv, | if (sbappendaddr(&s->so_rcv, | ||||
(struct sockaddr *)src, | (struct sockaddr *)src, | ||||
mm, (struct mbuf *)0) != 0) { | mm, (struct mbuf *)0) != 0) { | ||||
sorwakeup(s); | sorwakeup(s); | ||||
return (0); | return (0); | ||||
} | } else | ||||
soroverflow(s); | |||||
} | } | ||||
m_freem(mm); | m_freem(mm); | ||||
return (-1); | return (-1); | ||||
} | } | ||||
/* | /* | ||||
* IPv6 multicast forwarding function. This function assumes that the packet | * IPv6 multicast forwarding function. This function assumes that the packet | ||||
* pointed to by "ip6" has arrived on (or is about to be sent to) the interface | * pointed to by "ip6" has arrived on (or is about to be sent to) the interface | ||||
▲ Show 20 Lines • Show All 900 Lines • Show Last 20 Lines |