Lines Matching refs:aspath
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);
884 new = binfo->attr->aspath;
886 aspath_prepend (aspath, new);
887 binfo->attr->aspath = new;
897 struct aspath *aspath;
899 aspath = aspath_str2aspath (arg);
900 if (! aspath)
902 return aspath;
909 struct aspath *aspath = rule;
910 aspath_free (aspath);