kernel-ipsec: Add flag to enable hardware offloading for an IPsec SA

This commit is contained in:
Tobias Brunner 2016-06-20 14:59:38 +02:00
parent 5bfae68670
commit 35a53d6491
1 changed files with 2 additions and 0 deletions

View File

@ -91,6 +91,8 @@ struct kernel_ipsec_add_sa_t {
uint16_t cpi;
/** TRUE to enable UDP encapsulation for NAT traversal */
bool encap;
/** TRUE to enable hardware offloading if available */
bool hw_offload;
/** TRUE to use Extended Sequence Numbers */
bool esn;
/** TRUE if initiator of the exchange creating the SA */