• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/zebra/bgpd/

Lines Matching refs:rule

104 route_match_ip_address (void *rule, struct prefix *prefix, 
112 alist = access_list_lookup (AFI_IP, (char *) rule);
132 route_match_ip_address_free (void *rule)
134 XFREE (MTYPE_ROUTE_MAP_COMPILED, rule);
151 route_match_ip_next_hop (void *rule, struct prefix *prefix,
165 alist = access_list_lookup (AFI_IP, (char *) rule);
185 route_match_ip_next_hop_free (void *rule)
187 XFREE (MTYPE_ROUTE_MAP_COMPILED, rule);
203 route_match_ip_address_prefix_list (void *rule, struct prefix *prefix,
210 plist = prefix_list_lookup (AFI_IP, (char *) rule);
227 route_match_ip_address_prefix_list_free (void *rule)
229 XFREE (MTYPE_ROUTE_MAP_COMPILED, rule);
244 route_match_ip_next_hop_prefix_list (void *rule, struct prefix *prefix,
258 plist = prefix_list_lookup (AFI_IP, (char *) rule);
275 route_match_ip_next_hop_prefix_list_free (void *rule)
277 XFREE (MTYPE_ROUTE_MAP_COMPILED, rule);
293 route_match_metric (void *rule, struct prefix *prefix,
301 med = rule;
331 route_match_metric_free (void *rule)
333 XFREE (MTYPE_ROUTE_MAP_COMPILED, rule);
350 route_match_aspath (void *rule, struct prefix *prefix,
359 as_list = as_list_lookup ((char *) rule);
380 route_match_aspath_free (void *rule)
382 XFREE (MTYPE_ROUTE_MAP_COMPILED, rule);
399 route_match_aspath (void *rule, struct prefix *prefix, void *object)
404 regex = rule;
426 route_match_aspath_free (void *rule)
428 regex_t *regex = rule;
453 route_match_community (void *rule, struct prefix *prefix,
463 rcom = rule;
511 route_match_community_free (void *rule)
513 struct rmap_community *rcom = rule;
535 route_match_origin (void *rule, struct prefix *prefix,
543 origin = rule;
572 route_match_origin_free (void *rule)
574 XFREE (MTYPE_ROUTE_MAP_COMPILED, rule);
589 route_set_ip_nexthop (void *rule, struct prefix *prefix,
597 /* Fetch routemap's rule information. */
598 address = rule;
632 route_set_ip_nexthop_free (void *rule)
634 XFREE (MTYPE_ROUTE_MAP_COMPILED, rule);
651 route_set_local_pref (void *rule, struct prefix *prefix,
659 /* Fetch routemap's rule information. */
660 local_pref = rule;
694 route_set_local_pref_free (void *rule)
696 XFREE (MTYPE_ROUTE_MAP_COMPILED, rule);
699 /* Set local preference rule structure. */
713 route_set_weight (void *rule, struct prefix *prefix, route_map_object_t type,
721 /* Fetch routemap's rule information. */
722 weight = rule;
755 route_set_weight_free (void *rule)
757 XFREE (MTYPE_ROUTE_MAP_COMPILED, rule);
760 /* Set local preference rule structure. */
774 route_set_metric (void *rule, struct prefix *prefix,
783 /* Fetch routemap's rule information. */
784 metric = rule;
851 route_set_metric_free (void *rule)
853 XFREE (MTYPE_ROUTE_MAP_COMPILED, rule);
856 /* Set metric rule structure. */
870 route_set_aspath_prepend (void *rule, struct prefix *prefix, route_map_object_t type, void *object)
878 aspath = rule;
907 route_set_aspath_prepend_free (void *rule)
909 struct aspath *aspath = rule;
913 /* Set metric rule structure. */
933 route_set_community (void *rule, struct prefix *prefix,
945 rcs = rule;
1019 route_set_community_free (void *rule)
1021 struct rmap_com_set *rcs = rule;
1028 /* Set community rule structure. */
1042 route_set_community_delete (void *rule, struct prefix *prefix,
1053 if (! rule)
1057 list = community_list_lookup (bgp_clist, rule, COMMUNITY_LIST_AUTO);
1106 route_set_community_delete_free (void *rule)
1108 XFREE (MTYPE_ROUTE_MAP_COMPILED, rule);
1111 /* Set community rule structure. */
1125 route_set_ecommunity_rt (void *rule, struct prefix *prefix,
1135 ecom = rule;
1170 route_set_ecommunity_rt_free (void *rule)
1172 struct ecommunity *ecom = rule;
1176 /* Set community rule structure. */
1189 route_set_ecommunity_soo (void *rule, struct prefix *prefix,
1197 ecom = rule;
1224 route_set_ecommunity_soo_free (void *rule)
1226 struct ecommunity *ecom = rule;
1230 /* Set community rule structure. */
1244 route_set_origin (void *rule, struct prefix *prefix, route_map_object_t type, void *object)
1251 origin = rule;
1280 route_set_origin_free (void *rule)
1282 XFREE (MTYPE_ROUTE_MAP_COMPILED, rule);
1285 /* Set metric rule structure. */
1299 route_set_atomic_aggregate (void *rule, struct prefix *prefix,
1322 route_set_atomic_aggregate_free (void *rule)
1327 /* Set atomic aggregate rule structure. */
1345 route_set_aggregator_as (void *rule, struct prefix *prefix,
1354 aggregator = rule;
1383 route_set_aggregator_as_free (void *rule)
1385 XFREE (MTYPE_ROUTE_MAP_COMPILED, rule);
1401 route_match_ipv6_address (void *rule, struct prefix *prefix,
1408 alist = access_list_lookup (AFI_IP6, (char *) rule);
1425 route_match_ipv6_address_free (void *rule)
1427 XFREE (MTYPE_ROUTE_MAP_COMPILED, rule);
1443 route_match_ipv6_next_hop (void *rule, struct prefix *prefix,
1451 addr = rule;
1454 if (IPV6_ADDR_SAME (&bgp_info->attr->mp_nexthop_global, rule))
1458 IPV6_ADDR_SAME (&bgp_info->attr->mp_nexthop_local, rule))
1486 route_match_ipv6_next_hop_free (void *rule)
1488 XFREE (MTYPE_ROUTE_MAP_COMPILED, rule);
1503 route_match_ipv6_address_prefix_list (void *rule, struct prefix *prefix,
1510 plist = prefix_list_lookup (AFI_IP6, (char *) rule);
1527 route_match_ipv6_address_prefix_list_free (void *rule)
1529 XFREE (MTYPE_ROUTE_MAP_COMPILED, rule);
1545 route_set_ipv6_nexthop_global (void *rule, struct prefix *prefix,
1553 /* Fetch routemap's rule information. */
1554 address = rule;
1591 route_set_ipv6_nexthop_global_free (void *rule)
1593 XFREE (MTYPE_ROUTE_MAP_COMPILED, rule);
1610 route_set_ipv6_nexthop_local (void *rule, struct prefix *prefix,
1618 /* Fetch routemap's rule information. */
1619 address = rule;
1656 route_set_ipv6_nexthop_local_free (void *rule)
1658 XFREE (MTYPE_ROUTE_MAP_COMPILED, rule);
1675 route_set_vpnv4_nexthop (void *rule, struct prefix *prefix,
1683 /* Fetch routemap's rule information. */
1684 address = rule;
1714 route_set_vpnv4_nexthop_free (void *rule)
1716 XFREE (MTYPE_ROUTE_MAP_COMPILED, rule);
1733 route_set_originator_id (void *rule, struct prefix *prefix, route_map_object_t type, void *object)
1740 address = rule;
1772 route_set_originator_id_free (void *rule)
1774 XFREE (MTYPE_ROUTE_MAP_COMPILED, rule);
1777 /* Set metric rule structure. */
1787 /* Add bgp route map rule. */
1800 vty_out (vty, "%% Can't find rule.%s", VTY_NEWLINE);
1812 /* Delete bgp route map rule. */
1825 vty_out (vty, "%% Can't find rule.%s", VTY_NEWLINE);
1837 /* Add bgp route map rule. */
1850 vty_out (vty, "%% Can't find rule.%s", VTY_NEWLINE);
1862 /* Delete bgp route map rule. */
1875 vty_out (vty, "%% Can't find rule.%s", VTY_NEWLINE);