Changeset View
Changeset View
Standalone View
Standalone View
sys/netinet/ip_output.c
Show First 20 Lines • Show All 667 Lines • ▼ Show 20 Lines | |||||
#if defined(IPSEC) || defined(IPSEC_SUPPORT) | #if defined(IPSEC) || defined(IPSEC_SUPPORT) | ||||
if (IPSEC_ENABLED(ipv4)) { | if (IPSEC_ENABLED(ipv4)) { | ||||
m = mb_unmapped_to_ext(m); | m = mb_unmapped_to_ext(m); | ||||
if (m == NULL) { | if (m == NULL) { | ||||
IPSTAT_INC(ips_odropped); | IPSTAT_INC(ips_odropped); | ||||
error = ENOBUFS; | error = ENOBUFS; | ||||
goto bad; | goto bad; | ||||
} | } | ||||
if ((error = IPSEC_OUTPUT(ipv4, m, inp)) != 0) { | if ((error = IPSEC_OUTPUT(ipv4, ifp, m, inp)) != 0) { | ||||
if (error == EINPROGRESS) | if (error == EINPROGRESS) | ||||
error = 0; | error = 0; | ||||
goto done; | goto done; | ||||
} | } | ||||
} | } | ||||
/* | /* | ||||
* Check if there was a route for this packet; return error if not. | * Check if there was a route for this packet; return error if not. | ||||
*/ | */ | ||||
▲ Show 20 Lines • Show All 867 Lines • Show Last 20 Lines |