summaryrefslogtreecommitdiffstats
path: root/sys/net/if.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.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.h')
-rw-r--r--sys/net/if.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/sys/net/if.h b/sys/net/if.h
index b4d5bdb..39bff63 100644
--- a/sys/net/if.h
+++ b/sys/net/if.h
@@ -281,6 +281,13 @@ struct ifmediareq {
int *ifm_ulist; /* media words */
};
+struct ifdrv {
+ char ifd_name[IFNAMSIZ]; /* if name, e.g. "en0" */
+ unsigned long ifd_cmd;
+ size_t ifd_len;
+ void *ifd_data;
+};
+
/*
* Structure used to retrieve aux status data from interfaces.
* Kernel suppliers to this interface should respect the formatting
OpenPOWER on IntegriCloud