Lines Matching full:ipsec

31  * IPsec output processing.
82 #include <netipsec/ipsec.h>
130 DPRINTF(("%s: IPsec outbound packet dropped due" in ipsec4_allocsa()
171 * this IPsec transform, thus we can continue w/o in ipsec4_allocsa()
172 * IPsec processing, i.e. return EJUSTRETURN. in ipsec4_allocsa()
186 * IPsec output logic for IPv4.
200 IPSEC_ASSERT(idx < sp->tcount, ("Wrong IPsec request index %d", idx)); in ipsec4_perform_request()
213 if (error == EJUSTRETURN) { /* No IPsec required */ in ipsec4_perform_request()
255 if_printf(ifp, "Tx TLS+IPSEC packet\n"); in ipsec4_perform_request()
289 * Dispatch to the appropriate IPsec transform logic. The in ipsec4_perform_request()
421 return (0); /* No IPsec required. */ in ipsec4_common_output1()
425 * Usually we have to have tunnel mode IPsec security policy in ipsec4_common_output1()
447 * IPsec processing and return without error. in ipsec4_common_output1()
452 return (EINPROGRESS); /* consumed by IPsec */ in ipsec4_common_output1()
480 * 0 - no IPsec handling needed
481 * other values - mbuf consumed by IPsec.
500 * 0 - no IPsec handling needed
501 * other values - mbuf consumed by IPsec.
556 DPRINTF(("%s: IPsec outbound packet dropped due" in ipsec6_allocsa()
610 * this IPsec transform, thus we can continue w/o in ipsec6_allocsa()
611 * IPsec processing, i.e. return EJUSTRETURN. in ipsec6_allocsa()
625 * IPsec output logic for IPv6.
638 IPSEC_ASSERT(idx < sp->tcount, ("Wrong IPsec request index %d", idx)); in ipsec6_perform_request()
642 if (error == EJUSTRETURN) { /* No IPsec required */ in ipsec6_perform_request()
834 return (0); /* No IPsec required. */ in ipsec6_common_output()
851 * IPsec processing and return without error. in ipsec6_common_output()
856 return (EINPROGRESS); /* consumed by IPsec */ in ipsec6_common_output()
862 * 0 - no IPsec handling needed
863 * other values - mbuf consumed by IPsec.
882 * 0 - no IPsec handling needed
883 * other values - mbuf consumed by IPsec.
1014 * We're done with IPsec processing, transmit the packet using the in ipsec_process_done()
1046 * ipsec_encap() is called by IPsec output routine for tunnel mode SA.
1047 * It is expected that after IP encapsulation some IPsec transform will
1048 * be performed. Each IPsec transform inserts its variable length header