summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd/rde.h
diff options
context:
space:
mode:
authorStuart Henderson <sthen@cvs.openbsd.org>2009-01-13 21:35:17 +0000
committerStuart Henderson <sthen@cvs.openbsd.org>2009-01-13 21:35:17 +0000
commit93f375ac85dd9ae681b8a2e32bb000af303dcdf1 (patch)
tree455b34818e955dd54bd6c935d8435aaaa44eb0d5 /usr.sbin/bgpd/rde.h
parent6963561e5fdb7f53addcab13192448109561f3e1 (diff)
Replace NEW_ASPATH/NEW_AGGREGATOR with the naming from RFC4893,
AS4_PATH/AS4_AGGREGATOR. No binary change. ok claudio
Diffstat (limited to 'usr.sbin/bgpd/rde.h')
-rw-r--r--usr.sbin/bgpd/rde.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/bgpd/rde.h b/usr.sbin/bgpd/rde.h
index 154cdf42dff..03899c608ed 100644
--- a/usr.sbin/bgpd/rde.h
+++ b/usr.sbin/bgpd/rde.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: rde.h,v 1.103 2008/11/21 17:41:22 claudio Exp $ */
+/* $OpenBSD: rde.h,v 1.104 2009/01/13 21:35:16 sthen Exp $ */
/*
* Copyright (c) 2003, 2004 Claudio Jeker <claudio@openbsd.org> and
@@ -107,8 +107,8 @@ enum attrtypes {
ATTR_MP_REACH_NLRI=14,
ATTR_MP_UNREACH_NLRI=15,
ATTR_EXT_COMMUNITIES=16,
- ATTR_NEW_ASPATH=17,
- ATTR_NEW_AGGREGATOR=18
+ ATTR_AS4_PATH=17,
+ ATTR_AS4_AGGREGATOR=18
};
/* attribute flags. 4 low order bits reserved */
@@ -154,7 +154,7 @@ LIST_HEAD(prefix_head, prefix);
#define F_ATTR_MED_ANNOUNCE 0x00020
#define F_ATTR_MP_REACH 0x00040
#define F_ATTR_MP_UNREACH 0x00080
-#define F_ATTR_AS4BYTE_NEW 0x00100 /* NEW_ASPATH or NEW_AGGREGATOR */
+#define F_ATTR_AS4BYTE_NEW 0x00100 /* AS4_PATH or AS4_AGGREGATOR */
#define F_ATTR_LOOP 0x00200 /* path would cause a route loop */
#define F_PREFIX_ANNOUNCED 0x01000
#define F_NEXTHOP_REJECT 0x02000