diff options
author | Filip Tehlar <ftehlar@cisco.com> | 2020-07-16 07:25:56 +0000 |
---|---|---|
committer | Beno�t Ganne <bganne@cisco.com> | 2020-09-30 16:38:59 +0000 |
commit | 558607dc3a96232191f413b9bc894524ff85f2a1 (patch) | |
tree | b908a53cf6913523907952b5d9fa57b9b0221c65 /src/plugins/ikev2/ikev2.h | |
parent | 90690f1e8f39904990b4eeeb7851b248a9c908f3 (diff) |
ikev2: better packet parsing functions
Ticket: VPP-1918
Type: improvement
Change-Id: I2bc3e30121697404dcd54f1c2127bd85ccc1029e
Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
Diffstat (limited to 'src/plugins/ikev2/ikev2.h')
-rw-r--r-- | src/plugins/ikev2/ikev2.h | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/src/plugins/ikev2/ikev2.h b/src/plugins/ikev2/ikev2.h index d435179275a..36ac85a39c5 100644 --- a/src/plugins/ikev2/ikev2.h +++ b/src/plugins/ikev2/ikev2.h @@ -45,13 +45,14 @@ typedef CLIB_PACKED (struct { /* *INDENT-ON* */ /* *INDENT-OFF* */ -typedef CLIB_PACKED (struct - { - u8 nextpayload; - u8 flags; - u16 length; - u16 dh_group; - u8 reserved[2]; u8 payload[0];}) ike_ke_payload_header_t; +typedef CLIB_PACKED (struct { + u8 nextpayload; + u8 flags; + u16 length; + u16 dh_group; + u8 reserved[2]; + u8 payload[0]; +}) ike_ke_payload_header_t; /* *INDENT-ON* */ /* *INDENT-OFF* */ |