@@ -984,7 +984,7 @@ typedef struct odp_ipsec_op_flag_t {
*/
typedef struct odp_ipsec_out_opt_t {
/** Fragmentation mode */
- odp_ipsec_frag_mode_t mode;
+ odp_ipsec_frag_mode_t frag_mode;
} odp_ipsec_out_opt_t;
@@ -1304,7 +1304,7 @@ static ipsec_sa_t *ipsec_out_single(odp_packet_t pkt,
ipsec_sa = _odp_ipsec_sa_use(sa);
ODP_ASSERT(NULL != ipsec_sa);
- if ((opt && opt->mode == ODP_IPSEC_FRAG_CHECK) ||
+ if ((opt && opt->frag_mode == ODP_IPSEC_FRAG_CHECK) ||
(!opt && ipsec_sa->out.frag_mode == ODP_IPSEC_FRAG_CHECK))
mtu = ipsec_sa->out.mtu;
else
@@ -530,7 +530,7 @@ static void test_out_ipv4_ah_sha256_frag_check(void)
ipsec_test_part test2 = {
.pkt_in = &pkt_ipv4_icmp_0,
.num_opt = 1,
- .opt = { .mode = ODP_IPSEC_FRAG_DISABLED, },
+ .opt = { .frag_mode = ODP_IPSEC_FRAG_DISABLED, },
.out_pkt = 1,
.out = {
{ .status.warn.all = 0,
@@ -623,7 +623,7 @@ static void test_out_ipv4_esp_null_sha256_frag_check(void)
ipsec_test_part test2 = {
.pkt_in = &pkt_ipv4_icmp_0,
.num_opt = 1,
- .opt = { .mode = ODP_IPSEC_FRAG_DISABLED, },
+ .opt = { .frag_mode = ODP_IPSEC_FRAG_DISABLED, },
.out_pkt = 1,
.out = {
{ .status.warn.all = 0,