diff options
author | sam <sam@FreeBSD.org> | 2004-04-05 04:17:03 +0000 |
---|---|---|
committer | sam <sam@FreeBSD.org> | 2004-04-05 04:17:03 +0000 |
commit | 0eac2dcc6f056befa2ec95a7c44ba33fbf3141c6 (patch) | |
tree | 2120f1dccd3606b599e1e6ca7459adccd191f4f1 /sys | |
parent | 089385e2079c3da759512122673e09e5c7e07477 (diff) | |
download | FreeBSD-src-0eac2dcc6f056befa2ec95a7c44ba33fbf3141c6.zip FreeBSD-src-0eac2dcc6f056befa2ec95a7c44ba33fbf3141c6.tar.gz |
export the malloc type M_80211_NODE for drivers that override the node
allocation routines
Diffstat (limited to 'sys')
-rw-r--r-- | sys/net80211/ieee80211_node.h | 2 | ||||
-rw-r--r-- | sys/net80211/ieee80211_var.h | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/sys/net80211/ieee80211_node.h b/sys/net80211/ieee80211_node.h index 0725ffb..b62bcde 100644 --- a/sys/net80211/ieee80211_node.h +++ b/sys/net80211/ieee80211_node.h @@ -128,6 +128,8 @@ ieee80211_unref_node(struct ieee80211_node **ni) struct ieee80211com; +MALLOC_DECLARE(M_80211_NODE); + extern void ieee80211_node_attach(struct ifnet *); extern void ieee80211_node_lateattach(struct ifnet *); extern void ieee80211_node_detach(struct ifnet *); diff --git a/sys/net80211/ieee80211_var.h b/sys/net80211/ieee80211_var.h index c5ef197..fbcaa7f2 100644 --- a/sys/net80211/ieee80211_var.h +++ b/sys/net80211/ieee80211_var.h @@ -37,6 +37,7 @@ /* * Definitions for IEEE 802.11 drivers. */ +#include <sys/malloc.h> #include <net80211/ieee80211.h> #include <net80211/ieee80211_crypto.h> |