enum_map_t map[] = {
{ "no", HW_OFFLOAD_NO },
{ "yes", HW_OFFLOAD_CRYPTO },
+ { "crypto", HW_OFFLOAD_CRYPTO },
+ { "packet", HW_OFFLOAD_PACKET },
{ "auto", HW_OFFLOAD_AUTO },
};
int d;
implementation.
Enable hardware offload for this CHILD_SA, if supported by the IPsec
- implementation. The value _yes_ enforces offloading and the installation
- will fail if it's not supported by either kernel or device. The value _auto_
- enables offloading, if it's supported, but the installation does not fail
- otherwise.
+ implementation. The values _crypto_ or _packet_ enforce crypto or full
+ packet offloading and the installation will fail if the selected mode is not
+ supported by either kernel or device. On Linux, _packet_ also offloads
+ policies, including trap policies. The value _auto_ enables full packet
+ or crypto offloading, if either is supported, but the installation does not
+ fail otherwise.
connections.<conn>.children.<child>.copy_df = yes
Whether to copy the DF bit to the outer IPv4 header in tunnel mode.