child-sa: Pass HW offload mode for policies
This commit is contained in:
@@ -1094,6 +1094,7 @@ static status_t install_policies_inbound(private_child_sa_t *this,
|
||||
.type = type,
|
||||
.prio = priority,
|
||||
.manual_prio = manual_prio,
|
||||
.hw_offload = this->config->get_hw_offload(this->config),
|
||||
.src = other_addr,
|
||||
.dst = my_addr,
|
||||
.sa = my_sa,
|
||||
@@ -1131,6 +1132,7 @@ static status_t install_policies_outbound(private_child_sa_t *this,
|
||||
.type = type,
|
||||
.prio = priority,
|
||||
.manual_prio = manual_prio,
|
||||
.hw_offload = this->config->get_hw_offload(this->config),
|
||||
.src = my_addr,
|
||||
.dst = other_addr,
|
||||
.sa = other_sa,
|
||||
@@ -1206,6 +1208,7 @@ static void del_policies_inbound(private_child_sa_t *this,
|
||||
.type = type,
|
||||
.prio = priority,
|
||||
.manual_prio = manual_prio,
|
||||
.hw_offload = this->config->get_hw_offload(this->config),
|
||||
.src = other_addr,
|
||||
.dst = my_addr,
|
||||
.sa = my_sa,
|
||||
@@ -1242,6 +1245,7 @@ static void del_policies_outbound(private_child_sa_t *this,
|
||||
.type = type,
|
||||
.prio = priority,
|
||||
.manual_prio = manual_prio,
|
||||
.hw_offload = this->config->get_hw_offload(this->config),
|
||||
.src = my_addr,
|
||||
.dst = other_addr,
|
||||
.sa = other_sa,
|
||||
|
||||
Reference in New Issue
Block a user