API Reference Manual  1.45.0
odp_ipsec_error_t Struct Reference

IPSEC errors. More...

#include <ipsec_types.h>

Data Fields

union {
   struct {
      uint32_t   proto: 1
 Protocol error. More...
 
      uint32_t   sa_lookup: 1
 SA lookup failed.
 
      uint32_t   auth: 1
 Authentication failed.
 
      uint32_t   antireplay: 1
 Anti-replay check failed.
 
      uint32_t   alg: 1
 Other algorithm error.
 
      uint32_t   mtu: 1
 Packet does not fit into the given MTU size.
 
      uint32_t   hard_exp_bytes: 1
 Hard lifetime expired: bytes.
 
      uint32_t   hard_exp_packets: 1
 Hard lifetime expired: packets.
 
   } 
 Error bits.
 
   uint32_t   all
 All error bits. More...
 
}; 
 IPSEC errors.
 

Detailed Description

IPSEC errors.

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

Field Documentation

◆ proto

uint32_t odp_ipsec_error_t::proto

Protocol error.

Not a valid ESP or AH packet, packet data length error, etc.

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

◆ all

uint32_t odp_ipsec_error_t::all

All error bits.

This field can be used to set, clear or compare multiple bits. For example, 'status.error.all != 0' checks if there are any errors.

Examples
ipsec_api/odp_ipsec.c, and odp_ipsec.c.

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


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