]> git.proxmox.com Git - mirror_frr.git/commit - bgpd/bgp_ecommunity.h
bgpd: Refine extended community handling
authorvivek <vivek@cumulusnetworks.com>
Mon, 15 May 2017 19:31:01 +0000 (12:31 -0700)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Wed, 12 Jul 2017 16:29:27 +0000 (12:29 -0400)
commitc5900768674b99a11d187e3584dc577bc05765b2
treec4502383d20d3bce911ae2b6b09429cbdbbcf1a2
parentcec2e17d276a4f87a25003b58ebd2e3be12ce973
bgpd: Refine extended community handling

Define helper functions to form different kinds of route targets. Also,
refine functions that encode extended communities as well as generate
a string from an extended community.

Signed-off-by: Vivek Venkatraman <vivek@cumulusnetworks.com>
Reviewed-by: Donald Sharp <sharpd@cumulusnetworks.com>
bgpd/bgp_ecommunity.c
bgpd/bgp_ecommunity.h