| /f-stack/freebsd/net80211/ |
| H A D | ieee80211_output.c | 2492 frm = ieee80211_add_rates(frm, rs); in ieee80211_send_probereq() 2493 frm = ieee80211_add_rsn(frm, vap); in ieee80211_send_probereq() 2531 frm = ieee80211_add_wpa(frm, vap); in ieee80211_send_probereq() 2802 frm = ieee80211_add_rsn(frm, vap); in ieee80211_send_mgmt() 2846 frm = ieee80211_add_ath(frm, in ieee80211_send_mgmt() 2936 frm = ieee80211_add_ath(frm, in ieee80211_send_mgmt() 3117 frm = ieee80211_add_rsn(frm, vap); in ieee80211_alloc_proberesp() 3134 frm = ieee80211_add_wpa(frm, vap); in ieee80211_alloc_proberesp() 3517 frm = ieee80211_add_rsn(frm, vap); in ieee80211_beacon_construct() 3533 frm = ieee80211_add_wpa(frm, vap); in ieee80211_beacon_construct() [all …]
|
| H A D | ieee80211_input.h | 87 iswpaoui(const uint8_t *frm) in iswpaoui() argument 89 return frm[1] > 3 && le32dec(frm+2) == ((WPA_OUI_TYPE<<24)|WPA_OUI); in iswpaoui() 93 iswmeoui(const uint8_t *frm) in iswmeoui() argument 95 return frm[1] > 3 && le32dec(frm+2) == ((WME_OUI_TYPE<<24)|WME_OUI); in iswmeoui() 101 return frm[1] > 5 && le32dec(frm+2) == ((WME_OUI_TYPE<<24)|WME_OUI) && in iswmeparam() 106 iswmeinfo(const uint8_t *frm) in iswmeinfo() argument 108 return frm[1] > 5 && le32dec(frm+2) == ((WME_OUI_TYPE<<24)|WME_OUI) && in iswmeinfo() 115 return frm[1] > 3 && le32dec(frm+2) == ((ATH_OUI_TYPE<<24)|ATH_OUI); in isatherosoui() 121 return frm[1] > 3 && le32dec(frm+2) == ((TDMA_OUI_TYPE<<24)|TDMA_OUI); in istdmaoui() 127 return frm[1] > 3 && le32dec(frm+2) == ((BCM_OUI_HTCAP<<24)|BCM_OUI); in ishtcapoui() [all …]
|
| H A D | ieee80211_input.c | 524 scan->tstamp = frm; frm += 8; in ieee80211_parse_beacon() 525 scan->bintval = le16toh(*(uint16_t *)frm); frm += 2; in ieee80211_parse_beacon() 526 scan->capinfo = le16toh(*(uint16_t *)frm); frm += 2; in ieee80211_parse_beacon() 529 scan->ies = frm; in ieee80211_parse_beacon() 533 IEEE80211_VERIFY_LENGTH(efrm - frm, frm[1] + 2, in ieee80211_parse_beacon() 535 switch (*frm) { in ieee80211_parse_beacon() 546 scan->csa = frm; in ieee80211_parse_beacon() 554 scan->chan = IEEE80211_FH_CHAN(frm[4], frm[5]); in ieee80211_parse_beacon() 620 else if (iswmeparam(frm) || iswmeinfo(frm)) in ieee80211_parse_beacon() 647 "id %u, len %u", *frm, frm[1]); in ieee80211_parse_beacon() [all …]
|
| H A D | ieee80211_mesh.c | 2023 frm += frm[1] + 2; in mesh_recv_mgmt() 2158 frm += frm[1] + 2; in mesh_parse_meshpeering_action() 2553 frm += frm[1] + 2; in mesh_parse_meshgate_action() 2758 frm = ieee80211_add_rates(frm, rs); in mesh_send_action_meshpeering_open() 2759 frm = ieee80211_add_xrates(frm, rs); in mesh_send_action_meshpeering_open() 2760 frm = ieee80211_add_meshid(frm, vap); in mesh_send_action_meshpeering_open() 2825 frm = ieee80211_add_rates(frm, rs); in mesh_send_action_meshpeering_confirm() 2826 frm = ieee80211_add_xrates(frm, rs); in mesh_send_action_meshpeering_confirm() 2829 frm = ieee80211_add_meshpeer(frm, in mesh_send_action_meshpeering_confirm() 2878 frm = ieee80211_add_meshpeer(frm, in mesh_send_action_meshpeering_close() [all …]
|
| H A D | ieee80211_hostap.c | 1030 if ((frm[1] + 2) > (efrm - frm)) { in hostap_auth_shared() 1034 frm[0], (frm[1] + 2) - (efrm - frm)); in hostap_auth_shared() 1041 frm += frm[1] + 2; in hostap_auth_shared() 1436 frm += 2; in ieee80211_parse_rsn() 1886 IEEE80211_VERIFY_LENGTH(efrm - frm, frm[1] + 2, return); in hostap_recv_mgmt() 1898 frm += frm[1] + 2; in hostap_recv_mgmt() 2047 capinfo = le16toh(*(uint16_t *)frm); frm += 2; in hostap_recv_mgmt() 2048 lintval = le16toh(*(uint16_t *)frm); frm += 2; in hostap_recv_mgmt() 2053 sfrm = frm; in hostap_recv_mgmt() 2067 rsn = frm; in hostap_recv_mgmt() [all …]
|
| H A D | ieee80211_ht.c | 2913 uint8_t *frm; in ieee80211_send_bar() local 3026 frm += 2; \ 3042 uint8_t *frm; in ht_send_action_ba_addba() local 3092 uint8_t *frm; in ht_send_action_ba_delba() local 3133 uint8_t *frm; in ht_send_action_ht_txchwidth() local 3315 frm++; in ieee80211_add_htcap_body() 3341 return frm; in ieee80211_add_htcap_body() 3404 frm++; in ieee80211_add_htcap_body_ch() 3430 return frm; in ieee80211_add_htcap_body_ch() 3566 frm += 5; in ieee80211_add_htinfo_body() [all …]
|
| H A D | ieee80211_vht.c | 57 frm[0] = (v) & 0xff; \ 58 frm[1] = (v) >> 8; \ 59 frm += 2; \ 62 frm[0] = (v) & 0xff; \ 63 frm[1] = ((v) >> 8) & 0xff; \ 66 frm += 4; \ 697 frm += 2; in ieee80211_add_vhtcap() 708 return (frm); in ieee80211_add_vhtcap() 756 frm += 2; in ieee80211_add_vhtinfo() 768 ADDSHORT(frm, 0xfffc); in ieee80211_add_vhtinfo() [all …]
|
| H A D | ieee80211_sta.c | 1056 if ((frm[1] + 2) > (efrm - frm)) { in sta_auth_shared() 1060 frm[0], (frm[1] + 2) - (efrm - frm)); in sta_auth_shared() 1066 frm += frm[1] + 2; in sta_auth_shared() 1204 frm += 4; in ieee80211_parse_wmeparams() 1754 frm += 2; in sta_recv_mgmt() 1756 frm += 2; in sta_recv_mgmt() 1765 frm += 2; in sta_recv_mgmt() 1770 IEEE80211_VERIFY_LENGTH(efrm - frm, frm[1] + 2, return); in sta_recv_mgmt() 1773 rates = frm; in sta_recv_mgmt() 1786 wme = frm; in sta_recv_mgmt() [all …]
|
| H A D | ieee80211_hwmp.c | 632 frm = hwmp_add_meshpreq(frm, in hwmp_send_action() 636 frm = hwmp_add_meshprep(frm, in hwmp_send_action() 640 frm = hwmp_add_meshperr(frm, in hwmp_send_action() 644 frm = hwmp_add_meshrann(frm, in hwmp_send_action() 708 frm += 6; in hwmp_add_meshpreq() 716 frm += 6; in hwmp_add_meshpreq() 719 return frm; in hwmp_add_meshpreq() 740 frm += 6; in hwmp_add_meshprep() 746 return frm; in hwmp_add_meshprep() 769 frm += 6; in hwmp_add_meshperr() [all …]
|
| H A D | ieee80211_regdomain.c | 262 uint8_t nextchan, chans[IEEE80211_CHAN_BYTES], *frm; in ieee80211_alloc_countryie() local 296 frm = (uint8_t *)&ie->band[0]; in ieee80211_alloc_countryie() 314 c->ic_maxregpower != frm[-1]) { /* new run */ in ieee80211_alloc_countryie() 322 frm[0] = c->ic_ieee; /* starting channel # */ in ieee80211_alloc_countryie() 323 frm[1] = 1; /* # channels in run */ in ieee80211_alloc_countryie() 324 frm[2] = c->ic_maxregpower; /* tx power cap */ in ieee80211_alloc_countryie() 325 frm += 3; in ieee80211_alloc_countryie() 329 frm[-2]++; in ieee80211_alloc_countryie() 333 ie->len = frm - ie->cc; in ieee80211_alloc_countryie() 336 *frm++ = 0; in ieee80211_alloc_countryie() [all …]
|
| H A D | ieee80211_tdma.c | 679 #define ADDSHORT(frm, v) do { \ in ieee80211_add_tdma() argument 680 frm[0] = (v) & 0xff; \ in ieee80211_add_tdma() 681 frm[1] = (v) >> 8; \ in ieee80211_add_tdma() 682 frm += 2; \ in ieee80211_add_tdma() 700 *frm++ = ts->tdma_slot; in ieee80211_add_tdma() 701 *frm++ = ts->tdma_slotcnt; in ieee80211_add_tdma() 704 ADDSHORT(frm, slotlen); in ieee80211_add_tdma() 705 *frm++ = ts->tdma_bintval; in ieee80211_add_tdma() 706 *frm++ = ts->tdma_inuse[0]; in ieee80211_add_tdma() 707 frm += 10; /* pad+timestamp */ in ieee80211_add_tdma() [all …]
|
| H A D | ieee80211_sta.h | 42 extern int ieee80211_parse_wmeparams(struct ieee80211vap *vap, uint8_t *frm, 48 extern int ieee80211_parse_wmeie(uint8_t *frm,
|
| H A D | ieee80211_adhoc.c | 709 uint8_t *frm, *efrm; in adhoc_recv_mgmt() local 716 frm = (uint8_t *)&wh[1]; in adhoc_recv_mgmt() 905 while (efrm - frm > 1) { in adhoc_recv_mgmt() 906 IEEE80211_VERIFY_LENGTH(efrm - frm, frm[1] + 2, return); in adhoc_recv_mgmt() 907 switch (*frm) { in adhoc_recv_mgmt() 909 ssid = frm; in adhoc_recv_mgmt() 912 rates = frm; in adhoc_recv_mgmt() 915 xrates = frm; in adhoc_recv_mgmt() 918 frm += frm[1] + 2; in adhoc_recv_mgmt() 972 (void)ic->ic_recv_action(ni, wh, frm, efrm); in adhoc_recv_mgmt()
|
| H A D | ieee80211_vht.h | 53 uint8_t * ieee80211_add_vhtcap(uint8_t *frm, struct ieee80211_node *); 54 uint8_t * ieee80211_add_vhtinfo(uint8_t *frm, struct ieee80211_node *);
|
| H A D | ieee80211_action.c | 168 const uint8_t *frm, const uint8_t *efrm) in recv_inval() argument 246 const uint8_t *frm, const uint8_t *efrm) in ieee80211_recv_action() argument 251 (const struct ieee80211_action *) frm; in ieee80211_recv_action() 288 return f(ni, wh, frm, efrm); in ieee80211_recv_action()
|
| H A D | ieee80211_superg.c | 175 ieee80211_add_ath(uint8_t *frm, uint8_t caps, ieee80211_keyix defkeyix) in ieee80211_add_ath() argument 185 struct ieee80211_ath_ie *ath = (struct ieee80211_ath_ie *) frm; in ieee80211_add_ath() 187 memcpy(frm, &info, sizeof(info)); in ieee80211_add_ath() 196 return frm + sizeof(info); in ieee80211_add_ath() 201 ieee80211_add_athcaps(uint8_t *frm, const struct ieee80211_node *bss) in ieee80211_add_athcaps() argument 205 return ieee80211_add_ath(frm, in ieee80211_add_athcaps() 223 ieee80211_parse_athparams(struct ieee80211_node *ni, uint8_t *frm, in ieee80211_parse_athparams() argument 228 u_int len = frm[1]; in ieee80211_parse_athparams() 238 ath = (const struct ieee80211_ath_ie *)frm; in ieee80211_parse_athparams()
|
| H A D | ieee80211_tdma.h | 100 uint8_t *ieee80211_add_tdma(uint8_t *frm, struct ieee80211vap *vap);
|
| H A D | ieee80211_wds.c | 749 u_int8_t *frm, *efrm; in wds_recv_mgmt() local 752 frm = (u_int8_t *)&wh[1]; in wds_recv_mgmt() 773 (void)ic->ic_recv_action(ni, wh, frm, efrm); in wds_recv_mgmt()
|
| H A D | ieee80211_proto.h | 155 uint8_t * ieee80211_add_wme_info(uint8_t *frm, struct ieee80211_wme_state *wme,
|
| H A D | ieee80211_freebsd.c | 478 ieee80211_getmgtframe(uint8_t **frm, int headroom, int pktlen) in ieee80211_getmgtframe() argument 506 *frm = m->m_data; in ieee80211_getmgtframe()
|
| H A D | ieee80211_freebsd.h | 278 struct mbuf *ieee80211_getmgtframe(uint8_t **frm, int headroom, int pktlen);
|
| H A D | ieee80211_var.h | 349 const uint8_t *frm, const uint8_t *efrm);
|
| /f-stack/tools/ifconfig/ |
| H A D | ifieee80211.c | 3530 iswpaoui(const u_int8_t *frm) in iswpaoui() argument 3532 return frm[1] > 3 && LE_READ_4(frm+2) == ((WPA_OUI_TYPE<<24)|WPA_OUI); in iswpaoui() 3536 iswmeinfo(const u_int8_t *frm) in iswmeinfo() argument 3538 return frm[1] > 5 && LE_READ_4(frm+2) == ((WME_OUI_TYPE<<24)|WME_OUI) && in iswmeinfo() 3543 iswmeparam(const u_int8_t *frm) in iswmeparam() argument 3545 return frm[1] > 5 && LE_READ_4(frm+2) == ((WME_OUI_TYPE<<24)|WME_OUI) && in iswmeparam() 3552 return frm[1] > 3 && LE_READ_4(frm+2) == ((ATH_OUI_TYPE<<24)|ATH_OUI); in isatherosoui() 3556 istdmaoui(const uint8_t *frm) in istdmaoui() argument 3558 return frm[1] > 3 && LE_READ_4(frm+2) == ((TDMA_OUI_TYPE<<24)|TDMA_OUI); in istdmaoui() 3562 iswpsoui(const uint8_t *frm) in iswpsoui() argument [all …]
|
| /f-stack/freebsd/netinet/ |
| H A D | tcp_lro.c | 439 struct lro_entry *le, struct mbuf *m, int frm, int32_t tcp_data_len, in tcp_lro_log() argument 449 log.u_bbr.flex8 = frm; in tcp_lro_log()
|
| /f-stack/freebsd/netinet/tcp_stacks/ |
| H A D | bbr.c | 739 bbr_start_hpts_timer(struct tcp_bbr *bbr, struct tcpcb *tp, uint32_t cts, int32_t frm, int32_t slot… in bbr_start_hpts_timer() argument 919 bbr->bbr_timer_src = frm; in bbr_start_hpts_timer() 951 bbr->bbr_timer_src = frm; in bbr_start_hpts_timer() 957 bbr_log_type_bbrsnd(bbr, tot_len, slot, delay_calc, cts, frm, prev_delay); in bbr_start_hpts_timer() 2523 …, uint32_t cts, uint32_t thresh, uint32_t lro, uint32_t srtt, struct bbr_sendmap *rsm, uint8_t frm) in bbr_log_thresh_choice() argument 2536 log.u_bbr.flex8 = frm; in bbr_log_thresh_choice()
|