diff options
author | Benoît Ganne <bganne@cisco.com> | 2022-04-11 18:51:25 +0200 |
---|---|---|
committer | Neale Ranns <neale@graphiant.com> | 2022-05-03 21:59:39 +0000 |
commit | 98ca76ab87c63a43b9bba6366ee5ca405709b6bc (patch) | |
tree | 0e233c7a05b6a9b1d478eb1d0055b30da2f05235 /src/vnet/ipsec/ipsec.h | |
parent | 77c821ccc6b72d18a247e95816ac1013b4dc664d (diff) |
ipsec: support per next-header next-nodes
Type: feature
Change-Id: I940b6c9d206e407f3e17d66c97233cd658984e61
Signed-off-by: Benoît Ganne <bganne@cisco.com>
Diffstat (limited to 'src/vnet/ipsec/ipsec.h')
-rw-r--r-- | src/vnet/ipsec/ipsec.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/vnet/ipsec/ipsec.h b/src/vnet/ipsec/ipsec.h index 05d8484a28c..58b0ffc93f9 100644 --- a/src/vnet/ipsec/ipsec.h +++ b/src/vnet/ipsec/ipsec.h @@ -149,6 +149,9 @@ typedef struct uword *tunnel_index_by_key; + /* next_header protocol registration */ + u16 *next_header_registrations; + /* convenience */ vlib_main_t *vlib_main; vnet_main_t *vnet_main; @@ -358,6 +361,10 @@ void ipsec_set_async_mode (u32 is_enabled); extern void ipsec_register_udp_port (u16 udp_port); extern void ipsec_unregister_udp_port (u16 udp_port); +extern clib_error_t *ipsec_register_next_header (vlib_main_t *vm, + u8 next_header, + const char *next_node); + #endif /* __IPSEC_H__ */ /* |