API Reference Manual 1.51.0
Loading...
Searching...
No Matches
odp_ipsec_lifetime_t Struct Reference

IPSEC SA lifetime limits. More...

#include <ipsec_types.h>

Data Fields

struct { 
 
   uint64_t   bytes 
 Limit in bytes. More...
 
   uint64_t   packets 
 Limit in packet. More...
 
soft_limit 
 Soft expiry limits for the session.
 
struct { 
 
   uint64_t   bytes 
 Limit in bytes. More...
 
   uint64_t   packets 
 Limit in packet. More...
 
hard_limit 
 Hard expiry limits for the session.
 

Detailed Description

IPSEC SA lifetime limits.

These limits are used for setting up SA lifetime. IPSEC operations check against the limits and output a status code (e.g. soft_exp_bytes) when a limit is crossed. It's implementation defined how many times soft lifetime expiration is reported: only once, first N or all packets following the limit crossing. Any number of limits may be used simultaneously. Use zero when there is no limit.

The default value is zero (i.e. no limit) for all the limits.

Definition at line 778 of file api/spec/ipsec_types.h.

Field Documentation

◆ bytes

uint64_t odp_ipsec_lifetime_t::bytes

Limit in bytes.

Definition at line 782 of file api/spec/ipsec_types.h.

◆ packets

uint64_t odp_ipsec_lifetime_t::packets

Limit in packet.

Definition at line 785 of file api/spec/ipsec_types.h.


The documentation for this struct was generated from the following file: