diff options
author | Donatas Abraitis <donatas@opensourcerouting.org> | 2023-09-07 09:17:52 +0200 |
---|---|---|
committer | Donatas Abraitis <donatas@opensourcerouting.org> | 2023-09-13 10:30:47 +0200 |
commit | b1b3fc5fe0c3d01e8f82ab33c2d62091d63b544a (patch) | |
tree | 845345a9d42c38a1f6b95d7ef24b5a5b853a68f8 /bgpd/bgp_open.h | |
parent | bgpd: Use explicit data types for graceful_restart_af struct (diff) | |
download | frr-b1b3fc5fe0c3d01e8f82ab33c2d62091d63b544a.tar.xz frr-b1b3fc5fe0c3d01e8f82ab33c2d62091d63b544a.zip |
bgpd: Move BGP_CAP_LLGR_MIN_PACKET_LEN to headers file
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
Diffstat (limited to 'bgpd/bgp_open.h')
-rw-r--r-- | bgpd/bgp_open.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/bgpd/bgp_open.h b/bgpd/bgp_open.h index 1d005efd0..a92c56d1b 100644 --- a/bgpd/bgp_open.h +++ b/bgpd/bgp_open.h @@ -25,6 +25,19 @@ struct graceful_restart_af { uint8_t flag; }; +/* + * +--------------------------------------------------+ + * | Address Family Identifier (16 bits) | + * +--------------------------------------------------+ + * | Subsequent Address Family Identifier (8 bits) | + * +--------------------------------------------------+ + * | Flags for Address Family (8 bits) | + * +--------------------------------------------------+ + * | Long-lived Stale Time (24 bits) | + * +--------------------------------------------------+ + */ +#define BGP_CAP_LLGR_MIN_PACKET_LEN 7 + /* Capability Code */ #define CAPABILITY_CODE_MP 1 /* Multiprotocol Extensions */ #define CAPABILITY_CODE_REFRESH 2 /* Route Refresh Capability */ |