Commit be16f4f4 authored by David Woodhouse's avatar David Woodhouse

Do not have separately named struct esp_hdr

It's only ever used within struct pkt, so leave it there with the others.
Signed-off-by: default avatarDavid Woodhouse <David.Woodhouse@intel.com>
parent 3a5580b3
......@@ -118,18 +118,16 @@
/****************************************************************************/
struct esp_hdr {
uint32_t spi;
uint32_t seq;
unsigned char iv[16];
unsigned char payload[];
};
struct pkt {
int len;
struct pkt *next;
union {
struct esp_hdr esp;
struct {
uint32_t spi;
uint32_t seq;
unsigned char iv[16];
unsigned char payload[];
} esp;
struct {
unsigned char pad[2];
unsigned char hdr[22];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment