summaryrefslogtreecommitdiffstats
path: root/sys/net/if_var.h
diff options
context:
space:
mode:
authorthompsa <thompsa@FreeBSD.org>2005-06-05 03:13:13 +0000
committerthompsa <thompsa@FreeBSD.org>2005-06-05 03:13:13 +0000
commit6c5bdda300f45e4abacd6f3dbf4663bbfdfefa35 (patch)
tree352898b8dc193cd5970b2640defcbe72739413a7 /sys/net/if_var.h
parentdc83783f40a527cc3ecb6ae9c2c0277a18678b28 (diff)
downloadFreeBSD-src-6c5bdda300f45e4abacd6f3dbf4663bbfdfefa35.zip
FreeBSD-src-6c5bdda300f45e4abacd6f3dbf4663bbfdfefa35.tar.gz
Add hooks into the networking layer to support if_bridge. This changes struct
ifnet so a buildworld is necessary. Approved by: mlaier (mentor) Obtained from: NetBSD
Diffstat (limited to 'sys/net/if_var.h')
-rw-r--r--sys/net/if_var.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/net/if_var.h b/sys/net/if_var.h
index 6a17905..b189a70 100644
--- a/sys/net/if_var.h
+++ b/sys/net/if_var.h
@@ -184,6 +184,8 @@ struct ifnet {
struct ifaltq if_snd; /* output queue (includes altq) */
const u_int8_t *if_broadcastaddr; /* linklevel broadcast bytestring */
+ void *if_bridge; /* bridge glue */
+
struct lltable *lltables; /* list of L3-L2 resolution tables */
struct label *if_label; /* interface MAC label */
OpenPOWER on IntegriCloud