suricata
decode-esp.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  ESPHdr_
 ESP Header. More...
 

Macros

#define ESP_HEADER_LEN   8
 size of the ESP header More...
 
#define ESP_GET_SPI(esph)   SCNtohl((esph)->spi)
 Get the spi field off a packet. More...
 
#define ESP_GET_SEQUENCE(esph)   SCNtohl((esph)->sequence)
 Get the sequence field off a packet. More...
 

Functions

struct ESPHdr_ __attribute__ ((__packed__)) ESPHdr
 ESP Header. More...
 
void DecodeESPRegisterTests (void)
 

Variables

uint32_t spi
 
uint32_t sequence
 

Macro Definition Documentation

◆ ESP_GET_SEQUENCE

#define ESP_GET_SEQUENCE (   esph)    SCNtohl((esph)->sequence)

Get the sequence field off a packet.

Definition at line 32 of file decode-esp.h.

◆ ESP_GET_SPI

#define ESP_GET_SPI (   esph)    SCNtohl((esph)->spi)

Get the spi field off a packet.

Definition at line 30 of file decode-esp.h.

◆ ESP_HEADER_LEN

#define ESP_HEADER_LEN   8

size of the ESP header

Definition at line 27 of file decode-esp.h.

Function Documentation

◆ DecodeESPRegisterTests()

void DecodeESPRegisterTests ( void  )

Definition at line 196 of file decode-esp.c.

References UtRegisterTest().

Here is the call graph for this function:

Variable Documentation

◆ sequence

uint32_t sequence

< ESP Security Parameters Index

Definition at line 1 of file decode-esp.h.

◆ spi

uint32_t spi

Definition at line 0 of file decode-esp.h.