]> git.proxmox.com Git - mirror_frr.git/blobdiff - lib/route_opaque.h
lib: do not include bgpd headers in route_opaque.h
[mirror_frr.git] / lib / route_opaque.h
index c5e7d6a327a8b8fade9244e4cc0aae65c8611f67..678a171e48099927843f54be163c7779f0658971 100644 (file)
 #include "assert.h"
 #include "zclient.h"
 
-#include "bgpd/bgp_aspath.h"
-#include "bgpd/bgp_community.h"
-#include "bgpd/bgp_lcommunity.h"
+/* copied from bgpd/bgp_community.h */
+#define COMMUNITY_SIZE 4
+/* copied from bgpd/bgp_lcommunity.h */
+#define LCOMMUNITY_SIZE 12
+/* copied from bgpd/bgp_route.h */
+#define BGP_MAX_SELECTION_REASON_STR_BUF 32
 
 struct bgp_zebra_opaque {
        char aspath[256];