diff options
author | 2024-09-03 11:52:20 -0400 | |
---|---|---|
committer | 2024-10-15 15:46:01 -0400 | |
commit | 17a918133ba056851c848cbd95dcd241b900cd3d (patch) | |
tree | 12ca4e9ce461e8fc8a4f945ea3830629e5a93a2f /src/vnet/bfd/bfd_udp.h | |
parent | 514098ee82737732c4491700254625d30b0e6bbb (diff) |
bfd: add support for multihop
Type: feature
Change-Id: If23f9cc9317e7528f3c8d66303457206843a12c5
Signed-off-by: Abdel Baig <abdbaig@cisco.com>
Diffstat (limited to 'src/vnet/bfd/bfd_udp.h')
-rw-r--r-- | src/vnet/bfd/bfd_udp.h | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/src/vnet/bfd/bfd_udp.h b/src/vnet/bfd/bfd_udp.h index 8f4bfee2bd7..362e9541dfe 100644 --- a/src/vnet/bfd/bfd_udp.h +++ b/src/vnet/bfd/bfd_udp.h @@ -26,12 +26,10 @@ /** identifier of BFD session based on UDP transport only */ typedef CLIB_PACKED (struct { - union { - /** interface to which the session is tied - single-hop */ - u32 sw_if_index; - /** the FIB index the peer is in - multi-hop*/ - u32 fib_index; - }; + /** interface to which the session is tied - single-hop */ + u16 sw_if_index; + /** the FIB index the peer is in - multi-hop*/ + u16 fib_index; /** local address */ ip46_address_t local_addr; /** peer address */ |