diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1999-01-10 02:42:32 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1999-01-10 02:42:32 +0000 |
commit | 87e7371e2b405b2f1fa820754960624c842c058f (patch) | |
tree | effe5602f2916619caaa0e09d2a8a3af91181138 /sys | |
parent | 3b2f220a9c74bf997dc81293f7d9f77b5f9732a2 (diff) |
indent
Diffstat (limited to 'sys')
-rw-r--r-- | sys/netinet6/nd6_protocol.h | 58 | ||||
-rw-r--r-- | sys/netinet6/tcpipv6.h | 4 |
2 files changed, 31 insertions, 31 deletions
diff --git a/sys/netinet6/nd6_protocol.h b/sys/netinet6/nd6_protocol.h index df20abcd66c..58e813bf547 100644 --- a/sys/netinet6/nd6_protocol.h +++ b/sys/netinet6/nd6_protocol.h @@ -23,16 +23,16 @@ didn't get a copy, you may request one from <license@ipv6.nrl.navy.mil>. #define ND6_REDIRECT 137 enum nd6_option { - ND6_OPT_SOURCE_LINKADDR=1, - ND6_OPT_TARGET_LINKADDR=2, - ND6_OPT_PREFIX_INFORMATION=3, - ND6_OPT_REDIRECTED_HEADER=4, - ND6_OPT_MTU=5, - ND6_OPT_ENDOFLIST=256 + ND6_OPT_SOURCE_LINKADDR=1, + ND6_OPT_TARGET_LINKADDR=2, + ND6_OPT_PREFIX_INFORMATION=3, + ND6_OPT_REDIRECTED_HEADER=4, + ND6_OPT_MTU=5, + ND6_OPT_ENDOFLIST=256 }; struct nd_router_solicit { /* router solicitation */ - struct icmpv6hdr rsol_hdr; + struct icmpv6hdr rsol_hdr; }; #define rsol_type rsol_hdr.icmpv6_type @@ -41,9 +41,9 @@ struct nd_router_solicit { /* router solicitation */ #define rsol_reserved rsol_hdr.icmpv6_data32[0] struct nd_router_advert { /* router advertisement */ - struct icmpv6hdr radv_hdr; - uint32_t radv_reachable; /* reachable time */ - uint32_t radv_retransmit; /* reachable retransmit time */ + struct icmpv6hdr radv_hdr; + uint32_t radv_reachable; /* reachable time */ + uint32_t radv_retransmit; /* reachable retransmit time */ }; #define radv_type radv_hdr.icmpv6_type @@ -56,13 +56,13 @@ struct nd_router_advert { /* router advertisement */ #define radv_router_lifetime radv_hdr.icmpv6_data16[1] struct nd6_nsolicitation { /* neighbor solicitation */ - struct icmpv6hdr nsol6_hdr; - struct in6_addr nsol6_target; + struct icmpv6hdr nsol6_hdr; + struct in6_addr nsol6_target; }; struct nd6_nadvertisement { /* neighbor advertisement */ - struct icmpv6hdr nadv6_hdr; - struct in6_addr nadv6_target; + struct icmpv6hdr nadv6_hdr; + struct in6_addr nadv6_target; }; #define nadv6_flags nadv6_hdr.icmpv6_data32[0] @@ -71,30 +71,30 @@ struct nd6_nadvertisement { /* neighbor advertisement */ #define ND6_NADVERFLAG_OVERRIDE 0x20 struct nd6_redirect { /* redirect */ - struct icmpv6hdr redirect_hdr; - struct in6_addr redirect_target; - struct in6_addr redirect_destination; + struct icmpv6hdr redirect_hdr; + struct in6_addr redirect_target; + struct in6_addr redirect_destination; }; struct nd6_opt_prefix_info { /* prefix information */ - uint8_t opt_type; - uint8_t opt_length; - uint8_t opt_prefix_length; - uint8_t opt_l_a_res; - uint32_t opt_valid_life; - uint32_t opt_preferred_life; - uint32_t opt_reserved2; - struct in6_addr opt_prefix; + uint8_t opt_type; + uint8_t opt_length; + uint8_t opt_prefix_length; + uint8_t opt_l_a_res; + uint32_t opt_valid_life; + uint32_t opt_preferred_life; + uint32_t opt_reserved2; + struct in6_addr opt_prefix; }; #define ND6_OPT_PI_L_BIT 0x80 #define ND6_OPT_PI_A_BIT 0x40 struct nd6_opt_mtu { /* MTU option */ - uint8_t opt_type; - uint8_t opt_length; - uint16_t opt_reserved; - uint32_t opt_mtu; + uint8_t opt_type; + uint8_t opt_length; + uint16_t opt_reserved; + uint32_t opt_mtu; }; #endif /* _NETINET6_ND6_PROTOCOL_H */ diff --git a/sys/netinet6/tcpipv6.h b/sys/netinet6/tcpipv6.h index 57ca9505d21..5363797baa9 100644 --- a/sys/netinet6/tcpipv6.h +++ b/sys/netinet6/tcpipv6.h @@ -16,8 +16,8 @@ didn't get a copy, you may request one from <license@ipv6.nrl.navy.mil>. #include <netinet/tcp.h> struct tcpipv6hdr { - struct ipv6 ti6_i; - struct tcphdr ti6_t; + struct ipv6 ti6_i; + struct tcphdr ti6_t; }; #define ti6_src ti6_i.ipv6_src |