From 9aa4f490f48e11d94a5089add2d9ea915a1f06a9 Mon Sep 17 00:00:00 2001 From: Bill Fenner Date: Fri, 26 Apr 2019 11:03:34 -0700 Subject: Add BFD multihop and lag decoding Put back the bfd_port_values, and use it to distinguish between destination ports for RFC5883 multihop and RFC7310 lag sessions. (The destination port is the only difference between these messages.) --- udp.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'udp.h') diff --git a/udp.h b/udp.h index 65ffe2a9..e3ce443b 100644 --- a/udp.h +++ b/udp.h @@ -179,6 +179,9 @@ struct udphdr { #ifndef WB_PORT #define WB_PORT 4567 #endif +#ifndef BFD_MULTIHOP_PORT +#define BFD_MULTIHOP_PORT 4784 /* RFC 5883 */ +#endif #ifndef VXLAN_PORT #define VXLAN_PORT 4789 /* RFC 7348 */ #endif @@ -206,6 +209,9 @@ struct udphdr { #ifndef BABEL_PORT_OLD #define BABEL_PORT_OLD 6697 /* RFC 6126 */ #endif +#ifndef BFD_LAG_PORT +#define BFD_LAG_PORT 6784 /* RFC 7310 */ +#endif #ifndef RX_PORT_LOW #define RX_PORT_LOW 7000 /*XXX*/ #endif -- cgit v1.2.1