| /src/sys/net80211/ |
| H A D | ieee80211_wds.c | 415 int hdrspace, need_tap = 1; /* mbuf need to be tapped. */ in wds_input() local 441 hdrspace = ieee80211_hdrspace(ic, wh); /* XXX optimize? */ in wds_input() 509 hdrspace = ieee80211_hdrspace(ic, wh); in wds_input() 510 if (m->m_len < hdrspace && in wds_input() 511 (m = m_pullup(m, hdrspace)) == NULL) { in wds_input() 514 "data too short: expecting %u", hdrspace); in wds_input() 565 if (ieee80211_crypto_decap(ni, m, hdrspace, &key) == 0) { in wds_input() 590 m = ieee80211_defrag(ni, m, hdrspace, has_decrypted); in wds_input() 617 m = ieee80211_decap(vap, m, hdrspace, qos); in wds_input()
|
| H A D | ieee80211_adhoc.c | 312 int hdrspace, need_tap = 1; /* mbuf need to be tapped. */ in adhoc_input() local 339 hdrspace = ieee80211_hdrspace(ic, wh); /* XXX optimize? */ in adhoc_input() 454 hdrspace = ieee80211_hdrspace(ic, wh); in adhoc_input() 455 if (m->m_len < hdrspace && in adhoc_input() 456 (m = m_pullup(m, hdrspace)) == NULL) { in adhoc_input() 459 "data too short: expecting %u", hdrspace); in adhoc_input() 503 if (ieee80211_crypto_decap(ni, m, hdrspace, &key) == 0) { in adhoc_input() 528 m = ieee80211_defrag(ni, m, hdrspace, has_decrypted); in adhoc_input() 555 m = ieee80211_decap(vap, m, hdrspace, qos); in adhoc_input()
|
| H A D | ieee80211_sta.c | 541 int hdrspace, need_tap = 1; /* mbuf need to be tapped. */ in sta_input() local 595 hdrspace = ieee80211_hdrspace(ic, wh); /* XXX optimize? */ in sta_input() 659 hdrspace = ieee80211_hdrspace(ic, wh); in sta_input() 660 if (m->m_len < hdrspace && in sta_input() 661 (m = m_pullup(m, hdrspace)) == NULL) { in sta_input() 664 "data too short: expecting %u", hdrspace); in sta_input() 772 if (ieee80211_crypto_decap(ni, m, hdrspace, &key) == 0) { in sta_input() 797 m = ieee80211_defrag(ni, m, hdrspace, has_decrypted); in sta_input() 829 m = ieee80211_decap(vap, m, hdrspace, qos); in sta_input() 955 hdrspace = ieee80211_hdrspace(ic, wh); in sta_input() [all …]
|
| H A D | ieee80211_hostap.c | 477 int hdrspace, need_tap = 1; /* mbuf need to be tapped. */ in hostap_input() local 504 hdrspace = ieee80211_hdrspace(ic, wh); /* XXX optimize? */ in hostap_input() 584 hdrspace = ieee80211_hdrspace(ic, wh); in hostap_input() 585 if (m->m_len < hdrspace && in hostap_input() 586 (m = m_pullup(m, hdrspace)) == NULL) { in hostap_input() 589 "data too short: expecting %u", hdrspace); in hostap_input() 690 if (ieee80211_crypto_decap(ni, m, hdrspace, &key) == 0) { in hostap_input() 715 m = ieee80211_defrag(ni, m, hdrspace, has_decrypted); in hostap_input() 740 m = ieee80211_decap(vap, m, hdrspace, qos); in hostap_input() 867 hdrspace = ieee80211_hdrspace(ic, wh); in hostap_input() [all …]
|
| H A D | ieee80211_output.c | 1473 int hdrsize, hdrspace, datalen, addqos, txfrag, is4addr, is_mcast; in ieee80211_encap() local 1633 hdrspace = roundup(hdrsize, sizeof(uint32_t)); in ieee80211_encap() 1635 hdrspace = hdrsize; in ieee80211_encap() 1641 m = ieee80211_mbuf_adjust(vap, hdrspace + meshhdrsize, key, m); in ieee80211_encap() 1666 m = ieee80211_amsdu_encap(vap, m, hdrspace + meshhdrsize, key); in ieee80211_encap() 1669 m = ieee80211_ff_encap(vap, m, hdrspace + meshhdrsize, key); in ieee80211_encap() 1677 M_PREPEND(m, hdrspace + meshhdrsize, IEEE80211_M_NOWAIT); in ieee80211_encap() 1720 (mtod(m, uint8_t *) + hdrspace); in ieee80211_encap() 1979 u_int hdrspace; in ieee80211_fragment() local 1989 hdrspace = roundup(hdrsize, sizeof(uint32_t)); in ieee80211_fragment() [all …]
|
| H A D | ieee80211_superg.h | 143 int hdrspace, struct ieee80211_key *key);
|
| H A D | ieee80211_superg.c | 361 ieee80211_ff_encap(struct ieee80211vap *vap, struct mbuf *m1, int hdrspace, in ieee80211_ff_encap() argument 383 m1 = ieee80211_mbuf_adjust(vap, hdrspace, key, m1); in ieee80211_ff_encap() 494 ieee80211_amsdu_encap(struct ieee80211vap *vap, struct mbuf *m1, int hdrspace, in ieee80211_amsdu_encap() argument 516 hdrspace + sizeof(struct llc) + sizeof(uint32_t) + in ieee80211_amsdu_encap()
|
| H A D | ieee80211_mesh.c | 1537 int hdrspace, meshdrlen, need_tap, error; in mesh_input() local 1638 hdrspace = ieee80211_hdrspace(ic, wh); in mesh_input() 1640 m = ieee80211_defrag(ni, m, hdrspace, 0); in mesh_input() 1676 if (m->m_len < hdrspace + sizeof(struct ieee80211_meshcntl) && in mesh_input() 1677 (m = m_pullup(m, hdrspace + in mesh_input() 1681 "data too short: expecting %u", hdrspace); in mesh_input() 1691 (mtod(m, const uint8_t *) + hdrspace); in mesh_input() 1695 hdrspace += meshdrlen; in mesh_input() 1699 (m->m_len < hdrspace) && in mesh_input() 1700 ((m = m_pullup(m, hdrspace)) == NULL)) { in mesh_input() [all …]
|
| H A D | ieee80211_input.c | 172 ieee80211_defrag(struct ieee80211_node *ni, struct mbuf *m, int hdrspace, in ieee80211_defrag() argument 239 m_adj(m, hdrspace); /* strip header */ in ieee80211_defrag()
|