summaryrefslogtreecommitdiffstats
path: root/sys/net80211/ieee80211_proto.h
diff options
context:
space:
mode:
authorsam <sam@FreeBSD.org>2006-07-26 03:15:16 +0000
committersam <sam@FreeBSD.org>2006-07-26 03:15:16 +0000
commita245550432954c7f1d3eebf64cf691435cc5f2f2 (patch)
treeca8efdf26c24c239c9b30781c67e05b973c8d260 /sys/net80211/ieee80211_proto.h
parentaedab5da36dfc54c382d0733a9d398393672b2e4 (diff)
downloadFreeBSD-src-a245550432954c7f1d3eebf64cf691435cc5f2f2.zip
FreeBSD-src-a245550432954c7f1d3eebf64cf691435cc5f2f2.tar.gz
add support for 802.11 packet injection via bpf
Together with: Andrea Bittau <a.bittau@cs.ucl.ac.uk> Reviewed by: arch@ MFC after: 1 month
Diffstat (limited to 'sys/net80211/ieee80211_proto.h')
-rw-r--r--sys/net80211/ieee80211_proto.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/net80211/ieee80211_proto.h b/sys/net80211/ieee80211_proto.h
index 4b8f6b4..397da44 100644
--- a/sys/net80211/ieee80211_proto.h
+++ b/sys/net80211/ieee80211_proto.h
@@ -64,6 +64,11 @@ int ieee80211_setup_rates(struct ieee80211_node *ni,
void ieee80211_saveie(u_int8_t **, const u_int8_t *);
void ieee80211_recv_mgmt(struct ieee80211com *, struct mbuf *,
struct ieee80211_node *, int, int, u_int32_t);
+struct ieee80211_bpf_params;
+int ieee80211_raw_xmit(struct ieee80211_node *, struct mbuf *,
+ const struct ieee80211_bpf_params *);
+int ieee80211_output(struct ifnet *, struct mbuf *,
+ struct sockaddr *, struct rtentry *);
int ieee80211_send_nulldata(struct ieee80211_node *);
int ieee80211_send_probereq(struct ieee80211_node *ni,
const u_int8_t sa[IEEE80211_ADDR_LEN],
OpenPOWER on IntegriCloud