diff options
author | Stanislav Zaikin <stanislav.zaikin@46labs.com> | 2023-09-08 10:27:15 +0200 |
---|---|---|
committer | Beno�t Ganne <bganne@cisco.com> | 2024-08-07 12:07:13 +0000 |
commit | 0f2c6cd1ab5b5a627b78e4d7019d5f8a15a76613 (patch) | |
tree | 14fce7d90a120ad01e4e04d9c61f6c4ff77d72a3 /src/plugins/ikev2/ikev2.api | |
parent | 9aa833b144200e88a382f3583196533c95d5e68f (diff) |
ikev2: handoff packets
current approach saves state in per-thread data structure. in
multi-worker + nat-t cases udp/500 and udp/4500 might be dispatched on
different workers. this patch adds hands off packet to 1 explicit thread
- 1st worker (or main thread in case there're no workers) or to thread
that was explicitly set by user via configuration
Type: improvement
Change-Id: Ib5cd9a4b8612dfaa63b276035709524f7a492d4f
Signed-off-by: Stanislav Zaikin <stanislav.zaikin@46labs.com>
Diffstat (limited to 'src/plugins/ikev2/ikev2.api')
-rw-r--r-- | src/plugins/ikev2/ikev2.api | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/plugins/ikev2/ikev2.api b/src/plugins/ikev2/ikev2.api index de276e7f3ea..e2ff8fb8268 100644 --- a/src/plugins/ikev2/ikev2.api +++ b/src/plugins/ikev2/ikev2.api @@ -658,6 +658,12 @@ counters ikev2 { units "packets"; description "IKE AUTH SA requests received"; }; + handoff { + severity info; + type counter64; + units "packets"; + description "IKE packets handoff"; + }; }; paths { "/err/ikev2-ip4" "ike"; |