/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/zebra/bgpd/ |
H A D | bgp_aspath.h | 32 struct aspath struct 34 /* Reference count to this aspath. */ 55 struct aspath *aspath_parse (); 56 struct aspath *aspath_dup (struct aspath *); 57 struct aspath *aspath_aggregate (struct aspath *, struct aspath *); 58 struct aspath *aspath_prepend (struct aspath *, struc [all...] |
H A D | bgp_regex.h | 31 int bgp_regexec (regex_t *regex, struct aspath *aspath);
|
H A D | bgp_aspath.c | 51 /* Hash for aspath. This is the top level structure of AS path. */ 55 static struct aspath * 58 struct aspath *aspath; 60 aspath = XMALLOC (MTYPE_AS_PATH, sizeof (struct aspath)); 61 memset (aspath, 0, sizeof (struct aspath)); 62 return aspath; 67 aspath_free (struct aspath *aspat 56 struct aspath *aspath; local 65 aspath_free(struct aspath *aspath) argument 78 aspath_unintern(struct aspath *aspath) argument 256 aspath_intern(struct aspath *aspath) argument 280 aspath_dup(struct aspath *aspath) argument 305 struct aspath *aspath; local 365 aspath_aggregate_segment_copy(struct aspath *aspath, struct assegment *seg, int i) argument 392 aspath_aggregate_as_set_add(struct aspath *aspath, struct assegment *asset, as_t as) argument 454 struct aspath *aspath; local 536 aspath_firstas_check(struct aspath *aspath, as_t asno) argument 557 aspath_loop_check(struct aspath *aspath, as_t asno) argument 586 aspath_private_as_check(struct aspath *aspath) argument 709 aspath_add_one_as(struct aspath *aspath, as_t asno, u_char type) argument 779 aspath_add_seq(struct aspath *aspath, as_t asno) argument 855 aspath_delete_confed_seq(struct aspath *aspath) argument 895 aspath_add_confed_seq(struct aspath *aspath, as_t asno) argument 962 struct aspath *aspath; local 1063 struct aspath *aspath; local 1116 aspath_key_make(struct aspath *aspath) argument [all...] |
H A D | bgp_regex.c | 83 bgp_regexec (regex_t *regex, struct aspath *aspath) argument 85 return regexec (regex, aspath->str, 0, NULL, 0);
|
H A D | bgp_attr.c | 295 if (attr->aspath) 296 key += aspath_key_make (attr->aspath); 338 && attr1->aspath == attr2->aspath 390 if (attr->aspath) 392 if (! attr->aspath->refcnt) 393 attr->aspath = aspath_intern (attr->aspath); 395 attr->aspath->refcnt++; 440 attr->aspath 471 bgp_attr_aggregate_intern(struct bgp *bgp, u_char origin, struct aspath *aspath, struct community *community, int as_set) argument 523 struct aspath *aspath; local 647 struct aspath *aspath; local 1345 struct aspath *aspath; local 1745 struct aspath *aspath; local [all...] |
H A D | bgp_attr.h | 72 struct aspath *aspath; member in struct:attr 112 struct attr *bgp_attr_aggregate_intern (struct bgp *, u_char, struct aspath *, struct community *, int as_set);
|
H A D | bgp_filter.c | 382 as_filter_match (struct as_filter *asfilter, struct aspath *aspath) 384 if (bgp_regexec (asfilter->reg, aspath) != REG_NOMATCH) 394 struct aspath *aspath; 396 aspath = (struct aspath *) object; 403 if (as_filter_match (asfilter, aspath)) 380 as_filter_match(struct as_filter *asfilter, struct aspath *aspath) argument 392 struct aspath *aspath; local
|
H A D | bgp_route.c | 220 if (new->attr->aspath->count < exist->attr->aspath->count) 222 if (new->attr->aspath->count > exist->attr->aspath->count) 233 internal_as_route = (new->attr->aspath->length == 0 234 && exist->attr->aspath->length == 0); 235 confed_as_route = (new->attr->aspath->length > 0 236 && exist->attr->aspath->length > 0 237 && new->attr->aspath->count == 0 238 && exist->attr->aspath 1292 struct aspath *aspath; local 2668 struct aspath *aspath = NULL; local 2908 struct aspath *aspath = NULL; local [all...] |
H A D | bgp_routemap.c | 366 return ((as_list_apply (as_list, bgp_info->attr->aspath) == AS_FILTER_DENY) ? RMAP_NOMATCH : RMAP_MATCH); 385 /* Route map commands for aspath matching. */ 408 return bgp_regexec (regex, bgp_info->attr->aspath); 433 /* Route map commands for aspath matching. */ 872 struct aspath *aspath; 873 struct aspath *new; 878 aspath = rule; 881 if (binfo->attr->aspath->refcnt) 882 new = aspath_dup (binfo->attr->aspath); 859 struct aspath *aspath; local 884 struct aspath *aspath; local 896 struct aspath *aspath = rule; local [all...] |
H A D | bgp_debug.c | 220 if (attr->aspath) 222 aspath_print (attr->aspath));
|
H A D | bgp_snmp.c | 783 *var_len = binfo->attr->aspath->length; 784 return (u_char *) binfo->attr->aspath->data;
|
H A D | bgp_packet.c | 1558 if (attr.aspath) 1559 aspath_unintern (attr.aspath);
|
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/zebra/tools/ |
H A D | rrcheck.pl | 35 $aspath = $5; 36 ($origin) = ($aspath =~ /([\d]+)$/); 38 print "$nexthop [$origin] $prefix $aspath ";
|