• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/zebra/bgpd/

Lines Matching defs:bgp_static

1768 struct bgp_static *
1771 struct bgp_static *new;
1772 new = XMALLOC (MTYPE_BGP_STATIC, sizeof (struct bgp_static));
1773 memset (new, 0, sizeof (struct bgp_static));
1778 bgp_static_free (struct bgp_static *bgp_static)
1780 if (bgp_static->rmap.name)
1781 free (bgp_static->rmap.name);
1782 XFREE (MTYPE_BGP_STATIC, bgp_static);
1787 struct bgp_static *bgp_static, afi_t afi, safi_t safi)
1800 if (bgp_static)
1802 attr.nexthop = bgp_static->igpnexthop;
1803 attr.med = bgp_static->igpmetric;
1808 if (bgp_static->rmap.name)
1813 ret = route_map_apply (bgp_static->rmap.map, p, RMAP_BGP, &info);
1983 struct bgp_static *bgp_static;
2011 bgp_static = rn->info;
2014 if (! bgp_static->backdoor && bgp_static->valid)
2017 bgp_static->backdoor = backdoor;
2020 if (bgp_static->rmap.name)
2021 free (bgp_static->rmap.name);
2022 bgp_static->rmap.name = strdup (rmap);
2023 bgp_static->rmap.map = route_map_lookup_by_name (rmap);
2027 if (bgp_static->rmap.name)
2028 free (bgp_static->rmap.name);
2029 bgp_static->rmap.name = NULL;
2030 bgp_static->rmap.map = NULL;
2031 bgp_static->valid = 0;
2038 bgp_static = bgp_static_new ();
2039 bgp_static->backdoor = backdoor;
2040 bgp_static->valid = 0;
2041 bgp_static->igpmetric = 0;
2042 bgp_static->igpnexthop.s_addr = 0;
2045 if (bgp_static->rmap.name)
2046 free (bgp_static->rmap.name);
2047 bgp_static->rmap.name = strdup (rmap);
2048 bgp_static->rmap.map = route_map_lookup_by_name (rmap);
2050 rn->info = bgp_static;
2056 bgp_static->valid = 1;
2061 if (! bgp_static->backdoor)
2062 bgp_static_update (bgp, &p, bgp_static, afi, safi);
2075 struct bgp_static *bgp_static;
2104 bgp_static = rn->info;
2107 if (! bgp_static->backdoor)
2111 bgp_static_free (bgp_static);
2129 struct bgp_static *bgp_static;
2142 bgp_static = rn->info;
2146 bgp_static->tag);
2147 bgp_static_free (bgp_static);
2154 bgp_static = rn->info;
2156 bgp_static_free (bgp_static);
2174 struct bgp_static *bgp_static;
2219 bgp_static = bgp_static_new ();
2220 bgp_static->valid = 1;
2221 memcpy (bgp_static->tag, tag, 3);
2222 rn->info = bgp_static;
2242 struct bgp_static *bgp_static;
2284 bgp_static = rn->info;
2285 bgp_static_free (bgp_static);
8031 struct bgp_static *bgp_static;
8070 bgp_static = rn->info;
8073 if (bgp_static->backdoor)
8451 struct bgp_static *bgp_static;
8460 if ((bgp_static = rn->info) != NULL)
8470 label = decode_label (bgp_static->tag);
8489 struct bgp_static *bgp_static;
8498 if ((bgp_static = rn->info) != NULL)
8533 if (bgp_static->rmap.name)
8534 vty_out (vty, " route-map %s", bgp_static->rmap.name);
8535 else if (bgp_static->backdoor)