/* Extended Communities type flag. */
#define ECOMMUNITY_FLAG_NON_TRANSITIVE 0x40
+/* Extended Community readable string length */
+#define ECOMMUNITY_STRLEN 64
+
/* Extended Communities attribute. */
struct ecommunity {
/* Reference counter. */
char val[IPV6_ECOMMUNITY_SIZE];
};
+enum ecommunity_lb_type {
+ EXPLICIT_BANDWIDTH,
+ CUMULATIVE_BANDWIDTH,
+ COMPUTED_BANDWIDTH
+};
+
#define ecom_length_size(X, Y) ((X)->size * (Y))
/*