Changeset View
Changeset View
Standalone View
Standalone View
sys/netinet6/udp6_usrreq.c
Show First 20 Lines • Show All 312 Lines • ▼ Show 20 Lines | if (IN6_IS_ADDR_MULTICAST(&ip6->ip6_dst)) { | ||||
/* | /* | ||||
* KAME note: traditionally we dropped udpiphdr from mbuf | * KAME note: traditionally we dropped udpiphdr from mbuf | ||||
* here. We need udphdr for IPsec processing so we do that | * here. We need udphdr for IPsec processing so we do that | ||||
* later. | * later. | ||||
*/ | */ | ||||
pcblist = udp_get_pcblist(nxt); | pcblist = udp_get_pcblist(nxt); | ||||
last = NULL; | last = NULL; | ||||
LIST_FOREACH(inp, pcblist, inp_list) { | CK_LIST_FOREACH(inp, pcblist, inp_list) { | ||||
if ((inp->inp_vflag & INP_IPV6) == 0) | if ((inp->inp_vflag & INP_IPV6) == 0) | ||||
continue; | continue; | ||||
if (inp->inp_lport != uh->uh_dport) | if (inp->inp_lport != uh->uh_dport) | ||||
continue; | continue; | ||||
if (inp->inp_fport != 0 && | if (inp->inp_fport != 0 && | ||||
inp->inp_fport != uh->uh_sport) | inp->inp_fport != uh->uh_sport) | ||||
continue; | continue; | ||||
if (!IN6_IS_ADDR_UNSPECIFIED(&inp->in6p_laddr)) { | if (!IN6_IS_ADDR_UNSPECIFIED(&inp->in6p_laddr)) { | ||||
▲ Show 20 Lines • Show All 991 Lines • Show Last 20 Lines |