diff options
author | hasso <hasso> | 2004-05-20 10:20:02 +0000 |
---|---|---|
committer | hasso <hasso> | 2004-05-20 10:20:02 +0000 |
commit | 4372df71e191fcf6a6f9616fad80d11cd131c82d (patch) | |
tree | dd01502f61566bb57fd75e1c4a388181140f2f1d /bgpd/bgp_ecommunity.h | |
parent | e0701b7955b883c5437269a382e1afc76ee71e5c (diff) |
Merge bgpd changeset 1184 from Zebra repository by Rivo Nurges.
Diffstat (limited to 'bgpd/bgp_ecommunity.h')
-rw-r--r-- | bgpd/bgp_ecommunity.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/bgpd/bgp_ecommunity.h b/bgpd/bgp_ecommunity.h index 678d1308..e266471f 100644 --- a/bgpd/bgp_ecommunity.h +++ b/bgpd/bgp_ecommunity.h @@ -34,6 +34,9 @@ Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA /* Extended Communities value is eight octet long. */ #define ECOMMUNITY_SIZE 8 +/* Extended Communities type flag. */ +#define ECOMMUNITY_FLAG_NON_TRANSITIVE 0x40 + /* Extended Communities attribute. */ struct ecommunity { @@ -70,3 +73,5 @@ void ecommunity_unintern (struct ecommunity *); unsigned int ecommunity_hash_make (struct ecommunity *); struct ecommunity *ecommunity_str2com (char *, int, int); char *ecommunity_ecom2str (struct ecommunity *, int); +int ecommunity_match (struct ecommunity *, struct ecommunity *); +char *ecommunity_str (struct ecommunity *); |