summaryrefslogtreecommitdiff
path: root/proto/babel
diff options
context:
space:
mode:
authorOndrej Zajicek (work) <santiago@crfreenet.org>2017-09-19 19:55:37 +0200
committerOndrej Zajicek (work) <santiago@crfreenet.org>2017-09-19 19:57:52 +0200
commitcd1d99611e445c9fe2452d05627ccfc624f35c39 (patch)
treeeeae5838682bbc556ebf291423505a77164192e2 /proto/babel
parent7b2c5f3d2826e3175bf31b1c36056c9efc587a2b (diff)
BGP: Shutdown communication (RFC 8203)
The patch implements BGP Administrative Shutdown Communication (RFC 8203) allowing BGP operators to pass messages related to BGP session administrative shutdown/restart. It handles both transmit and receive of shutdown messages. Messages are logged and may be displayed by show protocol all command. Thanks to Job Snijders for the basic patch.
Diffstat (limited to 'proto/babel')
-rw-r--r--proto/babel/packets.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/proto/babel/packets.c b/proto/babel/packets.c
index 90421836..e9c6d51d 100644
--- a/proto/babel/packets.c
+++ b/proto/babel/packets.c
@@ -146,8 +146,6 @@ struct babel_write_state {
#define TLV_HDR(tlv,t,l) ({ tlv->type = t; tlv->length = l - sizeof(struct babel_tlv); })
#define TLV_HDR0(tlv,t) TLV_HDR(tlv, t, tlv_data[t].min_length)
-#define BYTES(n) ((((uint) n) + 7) / 8)
-
static inline u16
get_time16(const void *p)
{