pkgsrc-wip/openbgpd-as4byte/patches/patch-bn
George Michaelson edb12a94da This is a modified import of the FreeBSD port of OpenBGPD.
This pkg includes modifications to implement 4byte (32bit) AS number extensions
to BGP.

the original FreeBSD port descr is appended below.

-george

OpenBGPD is a FREE implementation of the Border Gateway Protocol, Version 4.
It allows ordinary machines to be used as routers exchanging routes with
other systems speaking the BGP protocol.

WWW: http://www.openbgp.org/

- Florent Thoumie
flz@xbsd.org
2007-01-12 04:32:48 +00:00

28 lines
647 B
Text
Executable file

--- ./bgpd/session.h.dist Wed Jan 10 09:22:24 2007
+++ ./bgpd/session.h Wed Jan 10 09:19:08 2007
@@ -16,6 +16,9 @@
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
+/* +4-Byte AS: modifications for 4 Byte AS Number Support -
+ Geoff Huston, January 2007 */
+
#include <sys/types.h>
#include <sys/socket.h>
#include <time.h>
@@ -102,7 +105,14 @@
enum capa_codes {
CAPA_NONE,
CAPA_MP,
- CAPA_REFRESH
+ CAPA_REFRESH,
+ /* +4-Byte AS: additional capability codes */
+ CAPA_RF,
+ CAPA_MR,
+ CAPA_GR = 64,
+ CAPA_4AS,
+ CAPA_DC
+
};
struct msg_header {