ieee80211_var.h (249568) | ieee80211_var.h (249925) |
---|---|
1/*- 2 * Copyright (c) 2001 Atsushi Onoe 3 * Copyright (c) 2002-2009 Sam Leffler, Errno Consulting 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: --- 9 unchanged lines hidden (view full) --- 18 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 19 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 20 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 21 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 22 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 23 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 24 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 25 * | 1/*- 2 * Copyright (c) 2001 Atsushi Onoe 3 * Copyright (c) 2002-2009 Sam Leffler, Errno Consulting 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: --- 9 unchanged lines hidden (view full) --- 18 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 19 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 20 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 21 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 22 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 23 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 24 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 25 * |
26 * $FreeBSD: head/sys/net80211/ieee80211_var.h 249568 2013-04-16 20:36:32Z adrian $ | 26 * $FreeBSD: head/sys/net80211/ieee80211_var.h 249925 2013-04-26 12:50:32Z glebius $ |
27 */ 28#ifndef _NET80211_IEEE80211_VAR_H_ 29#define _NET80211_IEEE80211_VAR_H_ 30 31/* 32 * Definitions for IEEE 802.11 drivers. 33 */ 34/* NB: portability glue must go first */ --- 457 unchanged lines hidden (view full) --- 492 void (*iv_recv_pspoll)(struct ieee80211_node *, 493 struct mbuf *); 494 495 /* state machine processing */ 496 int (*iv_newstate)(struct ieee80211vap *, 497 enum ieee80211_state, int); 498 /* 802.3 output method for raw frame xmit */ 499 int (*iv_output)(struct ifnet *, struct mbuf *, | 27 */ 28#ifndef _NET80211_IEEE80211_VAR_H_ 29#define _NET80211_IEEE80211_VAR_H_ 30 31/* 32 * Definitions for IEEE 802.11 drivers. 33 */ 34/* NB: portability glue must go first */ --- 457 unchanged lines hidden (view full) --- 492 void (*iv_recv_pspoll)(struct ieee80211_node *, 493 struct mbuf *); 494 495 /* state machine processing */ 496 int (*iv_newstate)(struct ieee80211vap *, 497 enum ieee80211_state, int); 498 /* 802.3 output method for raw frame xmit */ 499 int (*iv_output)(struct ifnet *, struct mbuf *, |
500 struct sockaddr *, struct route *); | 500 const struct sockaddr *, struct route *); |
501 uint64_t iv_spare[6]; 502}; 503MALLOC_DECLARE(M_80211_VAP); 504 505#define IEEE80211_ADDR_EQ(a1,a2) (memcmp(a1,a2,IEEE80211_ADDR_LEN) == 0) 506#define IEEE80211_ADDR_COPY(dst,src) memcpy(dst,src,IEEE80211_ADDR_LEN) 507 508/* ic_flags/iv_flags */ --- 467 unchanged lines hidden --- | 501 uint64_t iv_spare[6]; 502}; 503MALLOC_DECLARE(M_80211_VAP); 504 505#define IEEE80211_ADDR_EQ(a1,a2) (memcmp(a1,a2,IEEE80211_ADDR_LEN) == 0) 506#define IEEE80211_ADDR_COPY(dst,src) memcpy(dst,src,IEEE80211_ADDR_LEN) 507 508/* ic_flags/iv_flags */ --- 467 unchanged lines hidden --- |