Changeset View
Changeset View
Standalone View
Standalone View
sys/netinet6/ip6_output.c
Show First 20 Lines • Show All 457 Lines • ▼ Show 20 Lines | #if defined(IPSEC) || defined(IPSEC_SUPPORT) | ||||
*/ | */ | ||||
if (IPSEC_ENABLED(ipv6)) { | if (IPSEC_ENABLED(ipv6)) { | ||||
m = mb_unmapped_to_ext(m); | m = mb_unmapped_to_ext(m); | ||||
if (m == NULL) { | if (m == NULL) { | ||||
IP6STAT_INC(ip6s_odropped); | IP6STAT_INC(ip6s_odropped); | ||||
error = ENOBUFS; | error = ENOBUFS; | ||||
goto bad; | goto bad; | ||||
} | } | ||||
if ((error = IPSEC_OUTPUT(ipv6, m, inp)) != 0) { | if ((error = IPSEC_OUTPUT(ipv6, ifp, m, inp)) != 0) { | ||||
if (error == EINPROGRESS) | if (error == EINPROGRESS) | ||||
error = 0; | error = 0; | ||||
goto done; | goto done; | ||||
} | } | ||||
} | } | ||||
#endif /* IPSEC */ | #endif /* IPSEC */ | ||||
/* Source address validation. */ | /* Source address validation. */ | ||||
▲ Show 20 Lines • Show All 2,864 Lines • Show Last 20 Lines |