diff options
author | Jason Wright <jason@cvs.openbsd.org> | 1999-02-27 21:19:28 +0000 |
---|---|---|
committer | Jason Wright <jason@cvs.openbsd.org> | 1999-02-27 21:19:28 +0000 |
commit | 90d5475f7f5218e1e7bae851f6e3e5ed3e4440d1 (patch) | |
tree | 89914935663514d48a68c09b938a6260680a2eda /sys/net/if_bridge.c | |
parent | b6e0b4e04a62c958c90588119c3798ed92a9f9a4 (diff) |
rearrange strcutures to avoid bad padding; deraadt.
Diffstat (limited to 'sys/net/if_bridge.c')
-rw-r--r-- | sys/net/if_bridge.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/net/if_bridge.c b/sys/net/if_bridge.c index f16c51cf12d..72646e8a9de 100644 --- a/sys/net/if_bridge.c +++ b/sys/net/if_bridge.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_bridge.c,v 1.1 1999/02/26 17:01:31 jason Exp $ */ +/* $OpenBSD: if_bridge.c,v 1.2 1999/02/27 21:19:27 jason Exp $ */ /* * Copyright (c) 1999 Jason L. Wright (jason@thought.net) @@ -73,19 +73,19 @@ extern int ifqmaxlen; * Bridge interface list */ struct bridge_iflist { - struct ifnet *ifp; /* member interface */ - u_int16_t bif_flags; /* member flags */ LIST_ENTRY(bridge_iflist) next; /* next in list */ + struct ifnet *ifp; /* member interface */ + u_int32_t bif_flags; /* member flags */ }; /* * Bridge route node */ struct bridge_rtnode { + LIST_ENTRY(bridge_rtnode) brt_next; /* next in list */ struct ifnet *brt_if; /* destination ifs */ + u_int32_t brt_age; /* age counter */ struct ether_addr brt_addr; /* destination addr */ - LIST_ENTRY(bridge_rtnode) brt_next; /* next in list */ - u_int16_t brt_age; /* age counter */ }; /* |