summaryrefslogtreecommitdiffstats
path: root/bgpd/bgp_memory.c
diff options
context:
space:
mode:
authorJob Snijders <job@instituut.net>2016-11-15 11:00:39 +0100
committerDonald Sharp <sharpd@cumulusnetworks.com>2017-01-19 00:38:53 +0100
commit57d187bc77f5a07fab335cb0949f3f2e77fc7e6c (patch)
treec52a54284756a6e29d5f5f0a2f9ee0a79f4e3080 /bgpd/bgp_memory.c
parentMerge pull request #73 from opensourcerouting/ldpd-json (diff)
downloadfrr-57d187bc77f5a07fab335cb0949f3f2e77fc7e6c.tar.xz
frr-57d187bc77f5a07fab335cb0949f3f2e77fc7e6c.zip
Support for BGP Large Communities
BGP Large Communities are a novel way to signal information between networks. An example of a Large Community is: "2914:65400:38016". Large BGP Communities are composed of three 4-byte integers, separated by a colon. This is easy to remember and accommodates advanced routing policies in relation to 4-Byte ASNs. This feature was developed by: Keyur Patel <keyur@arrcus.com> (Arrcus, Inc.), Job Snijders <job@ntt.net> (NTT Communications), David Lamparter <equinox@opensourcerouting.org> and Donald Sharp <sharpd@cumulusnetworks.com> Signed-off-by: Job Snijders <job@ntt.net> Signed-off-by: David Lamparter <equinox@opensourcerouting.org> Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'bgpd/bgp_memory.c')
-rw-r--r--bgpd/bgp_memory.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/bgpd/bgp_memory.c b/bgpd/bgp_memory.c
index 72c0311c1..85e32645e 100644
--- a/bgpd/bgp_memory.c
+++ b/bgpd/bgp_memory.c
@@ -111,3 +111,7 @@ DEFINE_MTYPE(BGPD, ENCAP_TLV, "ENCAP TLV")
DEFINE_MTYPE(BGPD, BGP_TEA_OPTIONS, "BGP TEA Options")
DEFINE_MTYPE(BGPD, BGP_TEA_OPTIONS_VALUE, "BGP TEA Options Value")
+
+DEFINE_MTYPE(BGPD, LCOMMUNITY, "Large Community")
+DEFINE_MTYPE(BGPD, LCOMMUNITY_STR, "Large Community display string")
+DEFINE_MTYPE(BGPD, LCOMMUNITY_VAL, "Large Community value")