diff options
Diffstat (limited to 'usr.sbin/bgpd/bgpd.h')
-rw-r--r-- | usr.sbin/bgpd/bgpd.h | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/usr.sbin/bgpd/bgpd.h b/usr.sbin/bgpd/bgpd.h index f14f50af26a..2f8c42f4be6 100644 --- a/usr.sbin/bgpd/bgpd.h +++ b/usr.sbin/bgpd/bgpd.h @@ -1,4 +1,4 @@ -/* $OpenBSD: bgpd.h,v 1.128 2004/06/20 18:35:12 henning Exp $ */ +/* $OpenBSD: bgpd.h,v 1.129 2004/06/22 07:22:31 henning Exp $ */ /* * Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org> @@ -355,12 +355,23 @@ struct kroute { u_short ifindex; }; +struct kroute6 { + struct in6_addr prefix; + u_int8_t prefixlen; + struct in6_addr nexthop; + u_int8_t flags; + u_short ifindex; +}; + struct kroute_nexthop { struct bgpd_addr nexthop; u_int8_t valid; u_int8_t connected; struct bgpd_addr gateway; - struct kroute kr; + union { + struct kroute kr4; + struct kroute6 kr6; + } kr; }; struct kif { |