|
|
| version 1.1.1.1, 2012/02/21 17:26:12 | version 1.1.1.2, 2016/11/02 10:09:10 |
|---|---|
| Line 32 | Line 32 |
| #include "plist.h" | #include "plist.h" |
| #include "ripd/ripd.h" | #include "ripd/ripd.h" |
| struct rip_metric_modifier | struct rip_metric_modifier |
| { | { |
| enum | enum |
| Line 160 rip_route_map_update (const char *notused) | Line 160 rip_route_map_update (const char *notused) |
| } | } |
| } | } |
| } | } |
| /* `match metric METRIC' */ | /* `match metric METRIC' */ |
| /* Match function return 1 if match is success else return zero. */ | /* Match function return 1 if match is success else return zero. */ |
| static route_map_result_t | static route_map_result_t |
| Line 323 static struct route_map_rule_cmd route_match_ip_next_h | Line 323 static struct route_map_rule_cmd route_match_ip_next_h |
| route_match_ip_next_hop_compile, | route_match_ip_next_hop_compile, |
| route_match_ip_next_hop_free | route_match_ip_next_hop_free |
| }; | }; |
| /* `match ip next-hop prefix-list PREFIX_LIST' */ | /* `match ip next-hop prefix-list PREFIX_LIST' */ |
| static route_map_result_t | static route_map_result_t |
| Line 370 static struct route_map_rule_cmd route_match_ip_next_h | Line 370 static struct route_map_rule_cmd route_match_ip_next_h |
| route_match_ip_next_hop_prefix_list_compile, | route_match_ip_next_hop_prefix_list_compile, |
| route_match_ip_next_hop_prefix_list_free | route_match_ip_next_hop_prefix_list_free |
| }; | }; |
| /* `match ip address IP_ACCESS_LIST' */ | /* `match ip address IP_ACCESS_LIST' */ |
| /* Match function should return 1 if match is success else return | /* Match function should return 1 if match is success else return |
| Line 416 static struct route_map_rule_cmd route_match_ip_addres | Line 416 static struct route_map_rule_cmd route_match_ip_addres |
| route_match_ip_address_compile, | route_match_ip_address_compile, |
| route_match_ip_address_free | route_match_ip_address_free |
| }; | }; |
| /* `match ip address prefix-list PREFIX_LIST' */ | /* `match ip address prefix-list PREFIX_LIST' */ |
| static route_map_result_t | static route_map_result_t |
| Line 507 struct route_map_rule_cmd route_match_tag_cmd = | Line 507 struct route_map_rule_cmd route_match_tag_cmd = |
| route_match_tag_compile, | route_match_tag_compile, |
| route_match_tag_free | route_match_tag_free |
| }; | }; |
| /* `set metric METRIC' */ | /* `set metric METRIC' */ |
| /* Set metric to attribute. */ | /* Set metric to attribute. */ |
| Line 718 static struct route_map_rule_cmd route_set_tag_cmd = | Line 718 static struct route_map_rule_cmd route_set_tag_cmd = |
| route_set_tag_compile, | route_set_tag_compile, |
| route_set_tag_free | route_set_tag_free |
| }; | }; |
| #define MATCH_STR "Match values from routing table\n" | #define MATCH_STR "Match values from routing table\n" |
| #define SET_STR "Set values in destination routing protocol\n" | #define SET_STR "Set values in destination routing protocol\n" |