version 1.1, 2012/02/21 17:26:12
|
version 1.1.1.2, 2016/11/02 10:09:12
|
Line 27 struct route_map_set_values
|
Line 27 struct route_map_set_values
|
{ |
{ |
int32_t metric; |
int32_t metric; |
int32_t metric_type; |
int32_t metric_type; |
|
struct in_addr nexthop; |
}; |
}; |
|
|
/* Redistributed external information. */ |
/* Redistributed external information. */ |
Line 39 struct external_info
|
Line 40 struct external_info
|
struct prefix_ipv4 p; |
struct prefix_ipv4 p; |
|
|
/* Interface index. */ |
/* Interface index. */ |
unsigned int ifindex; | ifindex_t ifindex; |
|
|
/* Nexthop address. */ |
/* Nexthop address. */ |
struct in_addr nexthop; |
struct in_addr nexthop; |
Line 50 struct external_info
|
Line 51 struct external_info
|
struct route_map_set_values route_map_set; |
struct route_map_set_values route_map_set; |
#define ROUTEMAP_METRIC(E) (E)->route_map_set.metric |
#define ROUTEMAP_METRIC(E) (E)->route_map_set.metric |
#define ROUTEMAP_METRIC_TYPE(E) (E)->route_map_set.metric_type |
#define ROUTEMAP_METRIC_TYPE(E) (E)->route_map_set.metric_type |
|
#define ROUTEMAP_NEXTHOP(E) (E)->route_map_set.nexthop |
}; |
}; |
|
|
#define OSPF_ASBR_CHECK_DELAY 30 |
#define OSPF_ASBR_CHECK_DELAY 30 |
Line 61 extern int ospf_route_map_set_compare (struct route_ma
|
Line 63 extern int ospf_route_map_set_compare (struct route_ma
|
struct route_map_set_values *); |
struct route_map_set_values *); |
extern struct external_info *ospf_external_info_add (u_char, |
extern struct external_info *ospf_external_info_add (u_char, |
struct prefix_ipv4, |
struct prefix_ipv4, |
unsigned int, | ifindex_t, |
struct in_addr); |
struct in_addr); |
extern void ospf_external_info_delete (u_char, struct prefix_ipv4); |
extern void ospf_external_info_delete (u_char, struct prefix_ipv4); |
extern struct external_info *ospf_external_info_lookup (u_char, |
extern struct external_info *ospf_external_info_lookup (u_char, |