Go to the source code of this file.
|
typedef | CLIB_PACKED (struct { ip4_header_t ip4;esp_header_t esp;}) ip4_and_esp_header_t |
|
typedef | CLIB_PACKED (struct { ip4_header_t ip4;udp_header_t udp;esp_header_t esp;}) ip4_and_udp_and_esp_header_t |
|
typedef | CLIB_PACKED (struct { ip6_header_t ip6;esp_header_t esp;}) ip6_and_esp_header_t |
|
u8 * | format_esp_header (u8 *s, va_list *args) |
|
static int | esp_replay_check (ipsec_sa_t *sa, u32 seq) |
|
static int | esp_replay_check_esn (ipsec_sa_t *sa, u32 seq) |
|
static void | esp_replay_advance (ipsec_sa_t *sa, u32 seq) |
|
static void | esp_replay_advance_esn (ipsec_sa_t *sa, u32 seq) |
|
static int | esp_seq_advance (ipsec_sa_t *sa) |
|
static void | ipsec_proto_init () |
|
static unsigned int | hmac_calc (ipsec_integ_alg_t alg, u8 *key, int key_len, u8 *data, int data_len, u8 *signature, u8 use_esn, u32 seq_hi) |
|
◆ ESP_SEQ_MAX
#define ESP_SEQ_MAX (4294967295UL) |
Definition at line 57 of file esp.h.
◆ ESP_WINDOW_SIZE
#define ESP_WINDOW_SIZE (64) |
Definition at line 56 of file esp.h.
◆ CLIB_PACKED() [1/3]
◆ CLIB_PACKED() [2/3]
◆ CLIB_PACKED() [3/3]
◆ esp_replay_advance()
◆ esp_replay_advance_esn()
◆ esp_replay_check()
Definition at line 62 of file esp.h.
◆ esp_replay_check_esn()
Definition at line 80 of file esp.h.
◆ esp_seq_advance()
◆ format_esp_header()
u8* format_esp_header |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
◆ hmac_calc()
static unsigned int hmac_calc |
( |
ipsec_integ_alg_t |
alg, |
|
|
u8 * |
key, |
|
|
int |
key_len, |
|
|
u8 * |
data, |
|
|
int |
data_len, |
|
|
u8 * |
signature, |
|
|
u8 |
use_esn, |
|
|
u32 |
seq_hi |
|
) |
| |
|
inlinestatic |
◆ ipsec_proto_init()
static void ipsec_proto_init |
( |
| ) |
|
|
inlinestatic |