diff options
Diffstat (limited to 'usr.sbin/bgpd/bgpd.h')
-rw-r--r-- | usr.sbin/bgpd/bgpd.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/usr.sbin/bgpd/bgpd.h b/usr.sbin/bgpd/bgpd.h index f7d8f6ba2bf..2f97b8a0c74 100644 --- a/usr.sbin/bgpd/bgpd.h +++ b/usr.sbin/bgpd/bgpd.h @@ -1,4 +1,4 @@ -/* $OpenBSD: bgpd.h,v 1.50 2004/01/03 20:37:34 henning Exp $ */ +/* $OpenBSD: bgpd.h,v 1.51 2004/01/04 18:51:23 henning Exp $ */ /* * Copyright (c) 2003 Henning Brauer <henning@openbsd.org> @@ -75,6 +75,16 @@ struct msgbuf { TAILQ_HEAD(bufs, buf) bufs; }; +struct bgpd_addr { + sa_family_t af; + union { + struct in_addr v4; + struct in6_addr v6; + } ba; /* 128-bit address */ +#define v4 ba.v4 +#define v6 ba.v6 +}; + struct bgpd_config { int opts; u_int16_t as; |