API Reference Manual 1.51.0
Loading...
Searching...
No Matches
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. More...
 
      uint32_t   auth: 1 
 Authentication failed. More...
 
      uint32_t   antireplay: 1 
 Anti-replay check failed. More...
 
      uint32_t   alg: 1 
 Other algorithm error. More...
 
      uint32_t   mtu: 1 
 Packet does not fit into the given MTU size. More...
 
      uint32_t   hard_exp_bytes: 1 
 Hard lifetime expired: bytes. More...
 
      uint32_t   hard_exp_packets: 1 
 Hard lifetime expired: packets. More...
 
   }  
 Error bits.
 
   uint32_t   all 
 All error bits. More...
 
};  
 IPSEC errors.
 

Detailed Description

IPSEC errors.

Definition at line 1138 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 1145 of file api/spec/ipsec_types.h.

◆ sa_lookup

uint32_t odp_ipsec_error_t::sa_lookup

SA lookup failed.

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

◆ auth

uint32_t odp_ipsec_error_t::auth

Authentication failed.

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

◆ antireplay

uint32_t odp_ipsec_error_t::antireplay

Anti-replay check failed.

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

◆ alg

uint32_t odp_ipsec_error_t::alg

Other algorithm error.

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

◆ mtu

uint32_t odp_ipsec_error_t::mtu

Packet does not fit into the given MTU size.

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

◆ hard_exp_bytes

uint32_t odp_ipsec_error_t::hard_exp_bytes

Hard lifetime expired: bytes.

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

◆ hard_exp_packets

uint32_t odp_ipsec_error_t::hard_exp_packets

Hard lifetime expired: packets.

Definition at line 1166 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 1175 of file api/spec/ipsec_types.h.


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