diff options
author | Bill Fenner <fenner@gmail.com> | 2021-02-04 21:10:31 -0800 |
---|---|---|
committer | Denis Ovsienko <denis@ovsienko.info> | 2021-02-14 15:08:33 +0000 |
commit | 6c002d33c0be53140cf998d24413746979e14125 (patch) | |
tree | c641c953dc8eeebd7e5cb4d2d3d1221acc8328d7 /udp.h | |
parent | 5d000b07738ee13d347d721d2492f739b212fdf5 (diff) | |
download | tcpdump-6c002d33c0be53140cf998d24413746979e14125.tar.gz |
BFD: add SBFD support (RFC7880 and RFC7881)
Add support for SBFD on UDP port 7784. SBFD is different
in that packets from the reflector will be sent with *source*
port 7784; in all other BFD mechanisms, it is only the
destination port that matters. For SBFD print-udp.c has to
check both source and destination port.
Diffstat (limited to 'udp.h')
-rw-r--r-- | udp.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -218,6 +218,9 @@ struct udphdr { #ifndef BFD_LAG_PORT #define BFD_LAG_PORT 6784 /* RFC 7310 */ #endif +#ifndef SBFD_PORT +#define SBFD_PORT 7784 /* SBFD RFC 7880 */ +#endif #ifndef RX_PORT_LOW #define RX_PORT_LOW 7000 /*XXX*/ #endif |