Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/net Kill void * for bridge in struct ifnet
details: https://anonhg.NetBSD.org/src/rev/de037013297e
branches: trunk
changeset: 330614:de037013297e
user: ozaki-r <ozaki-r%NetBSD.org@localhost>
date: Wed Jul 16 03:17:26 2014 +0000
description:
Kill void * for bridge in struct ifnet
No functional change.
diffstat:
sys/net/if.h | 9 ++++++---
1 files changed, 6 insertions(+), 3 deletions(-)
diffs (30 lines):
diff -r 05015f07b94d -r de037013297e sys/net/if.h
--- a/sys/net/if.h Tue Jul 15 20:18:30 2014 +0000
+++ b/sys/net/if.h Wed Jul 16 03:17:26 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if.h,v 1.171 2014/07/14 02:34:36 ozaki-r Exp $ */
+/* $NetBSD: if.h,v 1.172 2014/07/16 03:17:26 ozaki-r Exp $ */
/*-
* Copyright (c) 1999, 2000, 2001 The NetBSD Foundation, Inc.
@@ -242,6 +242,9 @@
*/
TAILQ_HEAD(ifnet_head, ifnet); /* the actual queue head */
+struct bridge_softc;
+struct bridge_iflist;
+
typedef struct ifnet {
void *if_softc; /* lower-level data for this if */
TAILQ_ENTRY(ifnet) if_list; /* all struct ifnets are chained */
@@ -289,8 +292,8 @@
*/
struct ifaddr *if_hwdl;
const uint8_t *if_broadcastaddr;/* linklevel broadcast bytestring */
- void *if_bridge; /* bridge glue */
- void *if_bridgeif; /* shortcut to interface list entry */
+ struct bridge_softc *if_bridge; /* bridge glue */
+ struct bridge_iflist *if_bridgeif; /* shortcut to interface list entry */
int if_dlt; /* data link type (<net/dlt.h>) */
pfil_head_t * if_pfil; /* filtering point */
uint64_t if_capabilities; /* interface capabilities */
Home |
Main Index |
Thread Index |
Old Index