summaryrefslogtreecommitdiffstats
path: root/src/vnet/bfd/bfd_udp.h
diff options
context:
space:
mode:
authorKlement Sekera <ksekera@cisco.com>2017-02-09 06:03:46 +0100
committerKlement Sekera <ksekera@cisco.com>2017-02-14 03:08:15 +0100
commit2bce0332d368901ea66c7e582119719757e37e42 (patch)
tree067e8ee9b6ad60604945afe1a38269ed286a60ee /src/vnet/bfd/bfd_udp.h
parentb05f1f0255b9a9b20381b621d187dd8b54911d9f (diff)
BFD: set per session UDP source port per RFC
Change-Id: Id294dbbd6499ae8221cc8143e1027adc08866ae6 Signed-off-by: Klement Sekera <ksekera@cisco.com>
Diffstat (limited to 'src/vnet/bfd/bfd_udp.h')
-rw-r--r--src/vnet/bfd/bfd_udp.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/vnet/bfd/bfd_udp.h b/src/vnet/bfd/bfd_udp.h
index 2cd89ca28ce..26e89851873 100644
--- a/src/vnet/bfd/bfd_udp.h
+++ b/src/vnet/bfd/bfd_udp.h
@@ -23,8 +23,6 @@
#include <vnet/adj/adj_types.h>
#include <vnet/ip/ip6_packet.h>
-#define BFD_UDP_KEY_BODY
-
/* *INDENT-OFF* */
typedef CLIB_PACKED (struct {
@@ -42,10 +40,12 @@ typedef struct
adj_index_t adj_index;
} bfd_udp_session_t;
+struct bfd_session_s;
+
void bfd_add_udp4_transport (vlib_main_t * vm, vlib_buffer_t * b,
- bfd_udp_session_t * bs);
+ const struct bfd_session_s *bs);
void bfd_add_udp6_transport (vlib_main_t * vm, vlib_buffer_t * b,
- bfd_udp_session_t * bs);
+ const struct bfd_session_s *bs);
#endif /* __included_bfd_udp_h__ */