diff options
author | Bill Fenner <fenner@gmail.com> | 2019-04-26 11:03:34 -0700 |
---|---|---|
committer | Bill Fenner <fenner@gmail.com> | 2019-04-26 11:03:34 -0700 |
commit | 9aa4f490f48e11d94a5089add2d9ea915a1f06a9 (patch) | |
tree | 286822cfeaf7fabd19fb7f7d39e6f7edd188cc50 /udp.h | |
parent | 26660d6d154fcc920a146bbf893069f210a50c1c (diff) | |
download | tcpdump-9aa4f490f48e11d94a5089add2d9ea915a1f06a9.tar.gz |
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.)
Diffstat (limited to 'udp.h')
-rw-r--r-- | udp.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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 |