diff options
| author | vivek <vivek@cumulusnetworks.com> | 2016-04-15 10:29:51 -0700 | 
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2016-09-23 09:30:53 -0400 | 
| commit | 54d48ea1537864dda453e5773f87be442ad2b7f7 (patch) | |
| tree | 2a1ac9b0c4a889f710bec78c12d1c86adfb3edbe /lib/nexthop.h | |
| parent | 50f342078f56cbb3fffb039fdf6ff90d689fe442 (diff) | |
Quagga: Definitions for static LSPs
Signed-off-by: Vivek Venkatraman <vivek@cumulusnetworks.com>
Reviewed-by:   Donald Sharp <sharpd@cumulusnetworks.com>
Ticket: CM-4804, ...
Reviewed By: CCR-3084
Testing Done: Not relevant
Diffstat (limited to 'lib/nexthop.h')
| -rw-r--r-- | lib/nexthop.h | 9 | 
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/nexthop.h b/lib/nexthop.h index 39e8b5425f..801904306e 100644 --- a/lib/nexthop.h +++ b/lib/nexthop.h @@ -25,6 +25,7 @@  #define _LIB_NEXTHOP_H  #include "prefix.h" +#include "mpls.h"  /* Maximum next hop string length - gateway + ifindex */  #define NEXTHOP_STRLEN (INET6_ADDRSTRLEN + 30) @@ -44,6 +45,14 @@ enum nexthop_types_t    NEXTHOP_TYPE_BLACKHOLE,        /* Null0 nexthop.  */  }; +/* Nexthop label structure. */ +struct nexthop_label +{ +  u_int8_t num_labels; +  u_int8_t reserved[3]; +  mpls_label_t label[0]; /* 1 or more labels. */ +}; +  /* Nexthop structure. */  struct nexthop  {  | 
