summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2004-12-23 15:39:23 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2004-12-23 15:39:23 +0000
commitdd81ccf99f9e69419caa2f6f43edbf619a182125 (patch)
tree2d2aa872af3dc0570ca7caa4432a1cd889d45c86 /usr.sbin/bgpd
parent1672d46117a4b747a9ec6fa2cb09358aee05ef59 (diff)
even more excellent alignment, with mickey
Diffstat (limited to 'usr.sbin/bgpd')
-rw-r--r--usr.sbin/bgpd/bgpd.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/usr.sbin/bgpd/bgpd.h b/usr.sbin/bgpd/bgpd.h
index 2d9f47114c6..c88d4739102 100644
--- a/usr.sbin/bgpd/bgpd.h
+++ b/usr.sbin/bgpd/bgpd.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: bgpd.h,v 1.152 2004/12/23 15:08:43 henning Exp $ */
+/* $OpenBSD: bgpd.h,v 1.153 2004/12/23 15:39:22 henning Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -207,12 +207,12 @@ struct peer_config {
u_int32_t id;
u_int32_t groupid;
u_int32_t max_prefix;
- u_int16_t remote_as;
- u_int16_t holdtime;
- u_int16_t min_holdtime;
enum announce_type announce_type;
enum enforce_as enforce_as;
enum reconf_action reconf_action;
+ u_int16_t remote_as;
+ u_int16_t holdtime;
+ u_int16_t min_holdtime;
u_int8_t template;
u_int8_t remote_masklen;
u_int8_t cloned;
@@ -357,16 +357,16 @@ struct kroute {
struct in_addr prefix;
struct in_addr nexthop;
u_int16_t flags;
- u_int8_t prefixlen;
u_short ifindex;
+ u_int8_t prefixlen;
};
struct kroute6 {
struct in6_addr prefix;
struct in6_addr nexthop;
u_int16_t flags;
- u_int8_t prefixlen;
u_short ifindex;
+ u_int8_t prefixlen;
};
struct kroute_nexthop {
@@ -391,11 +391,11 @@ struct kif {
};
struct session_up {
- u_int32_t remote_bgpid;
struct bgpd_addr local_addr;
struct bgpd_addr remote_addr;
struct capabilities capa_announced;
struct capabilities capa_received;
+ u_int32_t remote_bgpid;
};
struct pftable_msg {
@@ -445,8 +445,8 @@ enum as_spec {
};
struct filter_as {
- u_int16_t as;
enum as_spec type;
+ u_int16_t as;
};
enum filter_actions {
@@ -456,7 +456,7 @@ enum filter_actions {
};
enum directions {
- DIR_IN=1,
+ DIR_IN = 1,
DIR_OUT,
DIR_DEFAULT_IN, /* only needed to apply default set */
DIR_DEFAULT_OUT