Changeset View
Changeset View
Standalone View
Standalone View
sys/netinet6/udp6_usrreq.c
Show First 20 Lines • Show All 477 Lines • ▼ Show 20 Lines | if (udp_log_in_vain) { | ||||
log(LOG_INFO, | log(LOG_INFO, | ||||
"Connection attempt to UDP [%s]:%d from [%s]:%d\n", | "Connection attempt to UDP [%s]:%d from [%s]:%d\n", | ||||
ip6_sprintf(ip6bufd, &ip6->ip6_dst), | ip6_sprintf(ip6bufd, &ip6->ip6_dst), | ||||
ntohs(uh->uh_dport), | ntohs(uh->uh_dport), | ||||
ip6_sprintf(ip6bufs, &ip6->ip6_src), | ip6_sprintf(ip6bufs, &ip6->ip6_src), | ||||
ntohs(uh->uh_sport)); | ntohs(uh->uh_sport)); | ||||
} | } | ||||
UDP_PROBE(receive, NULL, NULL, ip6, NULL, uh); | |||||
UDPSTAT_INC(udps_noport); | UDPSTAT_INC(udps_noport); | ||||
if (m->m_flags & M_MCAST) { | if (m->m_flags & M_MCAST) { | ||||
printf("UDP6: M_MCAST is set in a unicast packet.\n"); | printf("UDP6: M_MCAST is set in a unicast packet.\n"); | ||||
UDPSTAT_INC(udps_noportmcast); | UDPSTAT_INC(udps_noportmcast); | ||||
goto badunlocked; | goto badunlocked; | ||||
} | } | ||||
if (V_udp_blackhole) | if (V_udp_blackhole) | ||||
goto badunlocked; | goto badunlocked; | ||||
▲ Show 20 Lines • Show All 837 Lines • Show Last 20 Lines |