API Reference Manual  1.45.0
odp_ipsec_lifetime_t Struct Reference

IPSEC SA lifetime limits. More...

#include <ipsec_types.h>

Data Fields

struct {
   uint64_t   bytes
 Limit in bytes.
 
   uint64_t   packets
 Limit in packet.
 
soft_limit
 Soft expiry limits for the session.
 
struct {
   uint64_t   bytes
 Limit in bytes.
 
   uint64_t   packets
 Limit in packet.
 
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 742 of file api/spec/ipsec_types.h.


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