/freebsd-src/tools/tools/net80211/w00t/ap/ |
H A D | ap.c | 90 void fill_basic(struct ieee80211_frame *wh, struct params *p) in fill_basic() 117 int fill_beacon(struct params *p, struct ieee80211_frame *wh) in fill_beacon() 154 struct ieee80211_frame *wh; in send_beacon() local 188 struct ieee80211_frame *wh; in send_pres() local 207 void read_preq(struct params *p, struct ieee80211_frame *wh, int len) in read_preq() 236 struct ieee80211_frame *wh; in send_auth() local 260 void read_auth(struct params *p, struct ieee80211_frame *wh, int len) in read_auth() 286 struct ieee80211_frame *wh; in send_assoc() local 319 void read_assoc(struct params *p, struct ieee80211_frame *wh, int len) in read_assoc() 350 void read_mgt(struct params *p, struct ieee80211_frame *wh, int len) in read_mgt() [all …]
|
/freebsd-src/tools/tools/net80211/w00t/assoc/ |
H A D | assoc.c | 83 void fill_basic(struct ieee80211_frame *wh, struct params *p) in fill_basic() 116 struct ieee80211_frame *wh; in send_probe_request() local 150 struct ieee80211_frame *wh; in send_auth() local 197 struct ieee80211_frame *wh; in send_assoc() local 234 int for_me(struct ieee80211_frame *wh, char *mac) in for_me() 239 int from_ap(struct ieee80211_frame *wh, char *mac) in from_ap() 244 void ack(struct params *p, struct ieee80211_frame *wh) in ack() 255 void generic_process(struct ieee80211_frame *wh, struct params *p, int len) in generic_process() 422 struct ieee80211_frame *wh; in get_probe_response() local 488 struct ieee80211_frame *wh; in get_auth() local [all …]
|
/freebsd-src/sys/net80211/ |
H A D | ieee80211_sta.c | 477 isdstods_mcastecho(struct ieee80211vap *vap, const struct ieee80211_frame *wh) in isdstods_mcastecho() argument 479 #define QWH4(wh) ((const struct ieee80211_qosframe_addr4 *)wh) in isdstods_mcastecho() argument 480 #define WH4(wh) ((const struct ieee80211_frame_addr4 *)wh) in isdstods_mcastecho() argument 498 isfromds_mcastecho(struct ieee80211vap *vap, const struct ieee80211_frame *wh) in isfromds_mcastecho() argument 542 struct ieee80211_frame *wh; sta_input() local 1000 sta_auth_open(struct ieee80211_node * ni,struct ieee80211_frame * wh,int rssi,int nf,uint16_t seq,uint16_t status) sta_auth_open() argument 1029 sta_auth_shared(struct ieee80211_node * ni,struct ieee80211_frame * wh,uint8_t * frm,uint8_t * efrm,int rssi,int nf,uint16_t seq,uint16_t status) sta_auth_shared() argument 1148 ieee80211_parse_wmeie(uint8_t * frm,const struct ieee80211_frame * wh,struct ieee80211_node * ni) ieee80211_parse_wmeie() argument 1172 ieee80211_parse_wmeparams(struct ieee80211vap * vap,uint8_t * frm,const struct ieee80211_frame * wh,uint8_t * qosinfo) ieee80211_parse_wmeparams() argument 1228 ieee80211_parse_csaparams(struct ieee80211vap * vap,uint8_t * frm,const struct ieee80211_frame * wh) ieee80211_parse_csaparams() argument 1403 struct ieee80211_frame *wh; sta_recv_mgmt() local [all...] |
H A D | ieee80211_input.c | 176 struct ieee80211_frame *wh = mtod(m, struct ieee80211_frame *); in ieee80211_defrag() local 317 struct ieee80211_qosframe_addr4 wh; in ieee80211_decap() local 523 struct ieee80211_frame *wh; in ieee80211_parse_beacon() local 796 struct ieee80211_frame *wh; in ieee80211_parse_action() local 931 const struct ieee80211_frame *wh) in ieee80211_getbssid() 963 const struct ieee80211_frame *wh, in ieee80211_note_frame() 1000 const struct ieee80211_frame *wh, in ieee80211_discard_frame() 1022 const struct ieee80211_frame *wh, in ieee80211_discard_ie()
|
H A D | ieee80211_hostap.c | 481 struct ieee80211_frame *wh; in hostap_input() local 916 hostap_auth_open(struct ieee80211_node * ni,struct ieee80211_frame * wh,int rssi,int nf,uint16_t seq,uint16_t status) hostap_auth_open() argument 994 hostap_auth_shared(struct ieee80211_node * ni,struct ieee80211_frame * wh,uint8_t * frm,uint8_t * efrm,int rssi,int nf,uint16_t seq,uint16_t status) hostap_auth_shared() argument 1251 ieee80211_parse_wpa(struct ieee80211vap * vap,const uint8_t * frm,struct ieee80211_rsnparms * rsn,const struct ieee80211_frame * wh) ieee80211_parse_wpa() argument 1428 ieee80211_parse_rsn(struct ieee80211vap * vap,const uint8_t * frm,struct ieee80211_rsnparms * rsn,const struct ieee80211_frame * wh) ieee80211_parse_rsn() argument 1554 wpa_assocreq(struct ieee80211_node * ni,struct ieee80211_rsnparms * rsnparms,const struct ieee80211_frame * wh,const uint8_t * wpa,const uint8_t * rsn,uint16_t capinfo) wpa_assocreq() argument 1684 ratesetmismatch(struct ieee80211_node * ni,const struct ieee80211_frame * wh,int reassoc,int resp,const char * tag,int rate) ratesetmismatch() argument 1695 capinfomismatch(struct ieee80211_node * ni,const struct ieee80211_frame * wh,int reassoc,int resp,const char * tag,int capinfo) capinfomismatch() argument 1709 htcapmismatch(struct ieee80211_node * ni,const struct ieee80211_frame * wh,int reassoc,int resp) htcapmismatch() argument 1720 authalgreject(struct ieee80211_node * ni,const struct ieee80211_frame * wh,int algo,int seq,int status) authalgreject() argument 1764 struct ieee80211_frame *wh; hostap_recv_mgmt() local 2406 struct ieee80211_frame_min *wh; ieee80211_recv_pspoll() local [all...] |
H A D | ieee80211_crypto_tkip.c | 180 struct ieee80211_frame *wh; in tkip_encap() local 193 struct ieee80211_frame *wh = mtod(m, struct ieee80211_frame *); in tkip_encap() local 241 struct ieee80211_frame *wh; in tkip_enmic() local 256 struct ieee80211_frame *wh = mtod(m, struct ieee80211_frame *); in tkip_enmic() local 292 struct ieee80211_frame *wh; tkip_decap() local 386 struct ieee80211_frame *wh; tkip_demic() local 841 const struct ieee80211_frame_addr4 *wh = michael_mic_hdr() local 1002 struct ieee80211_frame *wh; tkip_encrypt() local 1028 struct ieee80211_frame *wh; tkip_decrypt() local [all...] |
H A D | ieee80211_crypto_ccmp.c | 165 const struct ieee80211_frame *wh; in ccmp_encap() local 238 struct ieee80211_frame *wh; in ccmp_decap() local 343 ccmp_init_blocks(rijndael_ctx *ctx, struct ieee80211_frame *wh, in ccmp_init_blocks() 348 #define IS_QOS_DATA(wh) IEEE80211_QOS_HAS_SEQ(wh) in ccmp_init_blocks() argument 451 struct ieee80211_frame *wh; in ccmp_encrypt() local 597 struct ieee80211_frame *wh; in ccmp_decrypt() local
|
H A D | ieee80211_output.c | 599 struct ieee80211_frame *wh; in ieee80211_validate_frame() local 752 struct ieee80211_frame *wh; ieee80211_output() local 892 WH4(wh) ieee80211_send_setup() argument 895 struct ieee80211_frame *wh = mtod(m, struct ieee80211_frame *); ieee80211_send_setup() local 1018 struct ieee80211_frame *wh; ieee80211_mgmt_output() local 1099 struct ieee80211_frame *wh; ieee80211_send_nulldata() local 1206 struct ieee80211_frame *wh = mtod(m, struct ieee80211_frame *); ieee80211_classify() local 1473 WH4(wh) ieee80211_encap() argument 1483 struct ieee80211_frame *wh; ieee80211_encap() local 1973 struct ieee80211_frame *wh, *whf; ieee80211_fragment() local 2017 ieee80211_getqos(wh)[1] &= ~IEEE80211_QOS_MC; ieee80211_fragment() local 3354 const struct ieee80211_frame *wh; ieee80211_alloc_prot() local 3664 struct ieee80211_frame *wh; ieee80211_beacon_alloc() local 3784 struct ieee80211_frame *wh; ieee80211_beacon_update() local [all...] |
H A D | ieee80211_mesh.c | 1147 const struct ieee80211_frame *wh = in mesh_forward() local 1251 #define WHDIR(wh) ((w in mesh_decap() argument 1255 const struct ieee80211_qosframe_addr4 *wh; mesh_decap() local 1342 mesh_isucastforme(struct ieee80211vap * vap,const struct ieee80211_frame * wh,const struct ieee80211_meshcntl * mc) mesh_isucastforme() argument 1371 mesh_recv_indiv_data_to_fwrd(struct ieee80211vap * vap,struct mbuf * m,struct ieee80211_frame * wh,const struct ieee80211_meshcntl * mc) mesh_recv_indiv_data_to_fwrd() argument 1428 mesh_recv_indiv_data_to_me(struct ieee80211vap * vap,struct mbuf * m,struct ieee80211_frame * wh,const struct ieee80211_meshcntl * mc) mesh_recv_indiv_data_to_me() argument 1496 mesh_recv_group_data(struct ieee80211vap * vap,struct mbuf * m,struct ieee80211_frame * wh,const struct ieee80211_meshcntl * mc) mesh_recv_group_data() argument 1535 struct ieee80211_frame *wh; mesh_input() local 1836 struct ieee80211_frame *wh; mesh_recv_mgmt() local 2106 mesh_parse_meshpeering_action(struct ieee80211_node * ni,const struct ieee80211_frame * wh,const uint8_t * frm,const uint8_t * efrm,struct ieee80211_meshpeer_ie * mp,uint8_t subtype) mesh_parse_meshpeering_action() argument 2235 mesh_recv_action_meshpeering_open(struct ieee80211_node * ni,const struct ieee80211_frame * wh,const uint8_t * frm,const uint8_t * efrm) mesh_recv_action_meshpeering_open() argument 2383 mesh_recv_action_meshpeering_confirm(struct ieee80211_node * ni,const struct ieee80211_frame * wh,const uint8_t * frm,const uint8_t * efrm) mesh_recv_action_meshpeering_confirm() argument 2447 mesh_recv_action_meshpeering_close(struct ieee80211_node * ni,const struct ieee80211_frame * wh,const uint8_t * frm,const uint8_t * efrm) mesh_recv_action_meshpeering_close() argument 2501 mesh_recv_action_meshlmetric(struct ieee80211_node * ni,const struct ieee80211_frame * wh,const uint8_t * frm,const uint8_t * efrm) mesh_recv_action_meshlmetric() argument 2527 mesh_parse_meshgate_action(struct ieee80211_node * ni,const struct ieee80211_frame * wh,struct ieee80211_meshgann_ie * ie,const uint8_t * frm,const uint8_t * efrm) mesh_parse_meshgate_action() argument 2560 mesh_recv_action_meshgate(struct ieee80211_node * ni,const struct ieee80211_frame * wh,const uint8_t * frm,const uint8_t * efrm) mesh_recv_action_meshgate() argument 3390 ieee80211_mesh_init_neighbor(struct ieee80211_node * ni,const struct ieee80211_frame * wh,const struct ieee80211_scanparams * sp) ieee80211_mesh_init_neighbor() argument [all...] |
H A D | ieee80211_crypto_none.c | 103 struct ieee80211_frame *wh = mtod(m, struct ieee80211_frame *); in none_encap() local 124 struct ieee80211_frame *wh = mtod(m, struct ieee80211_frame *); in none_decap() local
|
H A D | ieee80211_adhoc.c | 311 struct ieee80211_frame *wh; in adhoc_input() local 710 struct ieee80211_frame *wh; adhoc_recv_mgmt() local 1017 struct ieee80211_frame *wh; ahdemo_recv_mgmt() local [all...] |
H A D | ieee80211_action.c | 162 recv_inval(struct ieee80211_node *ni, const struct ieee80211_frame *wh, in recv_inval() 240 const struct ieee80211_frame *wh, in ieee80211_recv_action()
|
H A D | ieee80211_hwmp.c | 305 const struct ieee80211_frame *wh, const uint8_t *iefrm) in verify_mesh_preq_len() 336 const struct ieee80211_frame *wh, const uint8_t *iefrm) in verify_mesh_prep_len() 360 const struct ieee80211_frame *wh, const uint8_t *iefrm) in verify_mesh_perr_len() 396 const struct ieee80211_frame *wh, in hwmp_recv_action_meshpath() 941 const struct ieee80211_frame *wh, const struct ieee80211_meshpreq_ie *preq) in hwmp_recv_preq() 1263 const struct ieee80211_frame *wh, const struct ieee80211_meshprep_ie *prep) in hwmp_recv_prep() 1536 const struct ieee80211_frame *wh, const struct ieee80211_meshperr_ie *perr) in hwmp_recv_perr() 1735 const struct ieee80211_frame *wh, const struct ieee80211_meshrann_ie *rann) in hwmp_recv_rann()
|
H A D | ieee80211_crypto.c | 632 struct ieee80211_frame *wh; in ieee80211_crypto_get_txkey() local 694 struct ieee80211_frame *wh; in ieee80211_crypto_decap() local 785 struct ieee80211_frame *wh; in ieee80211_crypto_demic() local [all...] |
H A D | ieee80211_wds.c | 413 struct ieee80211_frame *wh; in wds_input() local 748 struct ieee80211_frame *wh; wds_recv_mgmt() local [all...] |
H A D | ieee80211_proto.h | 173 const struct ieee80211_frame *wh = data; in ieee80211_hdrsize() local 192 const struct ieee80211_frame *wh = data; in ieee80211_anyhdrsize() local 316 struct ieee80211_frame *wh = data; in ieee80211_getqos() local 331 ieee80211_gettid(const struct ieee80211_frame *wh) in ieee80211_gettid()
|
/freebsd-src/tools/tools/net80211/w00t/expand/ |
H A D | expand.c | 50 struct ieee80211_frame *wh; member 84 int wanted(struct params *p, struct ieee80211_frame *wh, int len) in wanted() 112 void enque(struct params *p, char **buf, struct ieee80211_frame *wh, int len) in enque() 179 struct ieee80211_frame *wh; in send_mcast() local 317 void got_mcast(struct params *p, struct ieee80211_frame *wh, int len) in got_mcast() 326 struct ieee80211_frame *wh; in read_wifi() local
|
/freebsd-src/tools/tools/net80211/w00t/prga/ |
H A D | prga.c | 148 int is_arp(struct ieee80211_frame *wh, int len) in is_arp() 161 struct ieee80211_frame *wh; in get_prga() local 237 struct ieee80211_frame *wh; in send_packet() local 257 struct ieee80211_frame *wh; in send_frag() local 339 struct ieee80211_frame *wh; in wait_ack() local 406 struct ieee80211_frame *wh; in wait_relay() local 508 struct ieee80211_frame *wh; in read_tap() local
|
/freebsd-src/tools/tools/net80211/w00t/libw00t/ |
H A D | w00t.c | 79 unsigned short seqno(struct ieee80211_frame *wh) in seqno() 303 int wep_decrypt(struct ieee80211_frame *wh, int len, char *key, int klen) in wep_decrypt() 331 void wep_encrypt(struct ieee80211_frame *wh, int len, char *key, int klen) in wep_encrypt() 354 int frame_type(struct ieee80211_frame *wh, int type, int stype) in frame_type() 391 static int is_arp(struct ieee80211_frame *wh, int len) in is_arp() 400 char *known_pt(struct ieee80211_frame *wh, int *len) in known_pt()
|
/freebsd-src/tools/tools/net80211/wesside/wesside/ |
H A D | wesside.c | 81 struct ieee80211_frame wh; member 584 void fill_basic(struct ieee80211_frame* wh) { in fill_basic() 602 struct ieee80211_frame* wh = (struct ieee80211_frame*) buf; in send_assoc() local 658 struct ieee80211_frame* wh = (struct ieee80211_frame*) buf; in send_auth() local 672 int get_victim_ssid(struct ieee80211_frame* wh, int len) { in get_victim_ssid() 994 void stuff_for_us(struct ieee80211_frame* wh, int len) { in stuff_for_us() 1153 void decrypt_arpreq(struct ieee80211_frame* wh, int rd) { in decrypt_arpreq() 1205 void log_wep(struct ieee80211_frame* wh, int len) { in log_wep() 1241 void try_dictionary(struct ieee80211_frame* wh, int len) { in try_dictionary() 1335 int is_arp(struct ieee80211_frame *wh, int len) in is_arp() [all …]
|
/freebsd-src/tools/tools/net80211/w00t/redir/ |
H A D | redir.c | 51 struct ieee80211_frame *wh; member 125 int wanted(struct params *p, struct ieee80211_frame *wh, int len) in wanted() 153 void enque(struct params *p, char **buf, struct ieee80211_frame *wh, int len) in enque() 235 struct ieee80211_frame *wh; in send_packet() local 255 struct ieee80211_frame *wh; in send_header() local 332 struct ieee80211_frame *wh; in send_data() local 386 struct ieee80211_frame *wh; in read_wifi() local
|
/freebsd-src/sys/dev/rtwn/ |
H A D | if_rtwn_tx.c | 116 struct ieee80211_frame *wh; in rtwn_tx_data() local 195 struct ieee80211_frame *wh; rtwn_tx_raw() local
|
/freebsd-src/sys/dev/ath/ |
H A D | if_ath_tx.c | 183 const struct ieee80211_frame *wh; in ath_tx_gettid() local 198 struct ieee80211_frame *wh; in ath_tx_set_retry() local 235 const struct ieee80211_frame *wh; in ath_tx_getac() local 719 struct ieee80211_frame *wh; ath_tx_handoff_mcast() local 1046 struct ieee80211_frame *wh; ath_tx_calc_protection() local 1119 struct ieee80211_frame *wh; ath_tx_calc_duration() local 1446 struct ieee80211_frame *wh; ath_tx_should_swq_frame() local 1562 struct ieee80211_frame *wh; ath_tx_normal_setup() local 1912 const struct ieee80211_frame *wh; ath_tx_start() local 2146 struct ieee80211_frame *wh; ath_tx_raw_start() local 2424 struct ieee80211_frame *wh = mtod(m, struct ieee80211_frame *); ath_raw_xmit() local 2584 ieee80211_is_action(struct ieee80211_frame * wh) ieee80211_is_action() argument 2609 struct ieee80211_frame *wh = mtod(m0, struct ieee80211_frame *); ath_tx_action_frame_override_queue() local 2847 struct ieee80211_frame *wh; ath_tx_leak_count_update() local 2985 struct ieee80211_frame *wh; ath_tx_tid_seqno_assign() local 3139 struct ieee80211_frame *wh; ath_tx_swq() local [all...] |
/freebsd-src/tools/tools/net80211/wlaninject/ |
H A D | wlaninject.c | 295 int header_len(struct ieee80211_frame *wh) in header_len() 469 struct ieee80211_frame *wh; in do_verify() local 537 struct ieee80211_frame *wh = &u.w; in main() local
|
/freebsd-src/sys/netgraph/ |
H A D | ng_pppoe.c | 410 struct pppoe_full_hdr *wh = &sp->neg->pkt->pkt_header; in make_packet() local 596 pppoe_findsession(priv_p privp, const struct pppoe_full_hdr *wh) in pppoe_findsession() 1159 struct pppoe_full_hdr *wh; in ng_pppoe_rcvmsg() local 1204 struct pppoe_full_hdr *wh; in ng_pppoe_rcvmsg() local 1431 struct pppoe_full_hdr *wh; in ng_pppoe_rcvdata() local 1582 const struct pppoe_full_hdr *wh; in ng_pppoe_rcvdata_ether() local 2055 struct pppoe_full_hdr *wh; in ng_pppoe_disconnect() local
|