/freebsd/sys/net80211/ |
H A D | ieee80211_wds.c | 416 int hdrspace, need_tap = 1; /* mbuf need to be tapped. */ in wds_input() local 442 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 | 313 int hdrspace, need_tap = 1; /* mbuf need to be tapped. */ in adhoc_input() local 340 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 | 542 int hdrspace, need_tap = 1; /* mbuf need to be tapped. */ in sta_input() local 596 hdrspace = ieee80211_hdrspace(ic, wh); /* XXX optimize? */ in sta_input() 660 hdrspace = ieee80211_hdrspace(ic, wh); in sta_input() 661 if (m->m_len < hdrspace && in sta_input() 662 (m = m_pullup(m, hdrspace)) == NULL) { in sta_input() 665 "data too short: expecting %u", hdrspace); in sta_input() 773 if (ieee80211_crypto_decap(ni, m, hdrspace, &key) == 0) { in sta_input() 798 m = ieee80211_defrag(ni, m, hdrspace, has_decrypted); in sta_input() 830 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 | 481 int hdrspace, need_tap = 1; /* mbuf need to be tapped. */ in hostap_input() local 508 hdrspace = ieee80211_hdrspace(ic, wh); /* XXX optimize? */ in hostap_input() 587 hdrspace = ieee80211_hdrspace(ic, wh); in hostap_input() 588 if (m->m_len < hdrspace && in hostap_input() 589 (m = m_pullup(m, hdrspace)) == NULL) { in hostap_input() 592 "data too short: expecting %u", hdrspace); in hostap_input() 693 if (ieee80211_crypto_decap(ni, m, hdrspace, &key) == 0) { in hostap_input() 718 m = ieee80211_defrag(ni, m, hdrspace, has_decrypted); in hostap_input() 743 m = ieee80211_decap(vap, m, hdrspace, qos); in hostap_input() 869 hdrspace = ieee80211_hdrspace(ic, wh); in hostap_input() [all …]
|
H A D | ieee80211_output.c | 1485 int hdrsize, hdrspace, datalen, addqos, txfrag, is4addr, is_mcast; in ieee80211_encap() local 1646 hdrspace = roundup(hdrsize, sizeof(uint32_t)); in ieee80211_encap() 1648 hdrspace = hdrsize; in ieee80211_encap() 1654 m = ieee80211_mbuf_adjust(vap, hdrspace + meshhdrsize, key, m); in ieee80211_encap() 1679 m = ieee80211_amsdu_encap(vap, m, hdrspace + meshhdrsize, key); in ieee80211_encap() 1682 m = ieee80211_ff_encap(vap, m, hdrspace + meshhdrsize, key); in ieee80211_encap() 1690 M_PREPEND(m, hdrspace + meshhdrsize, IEEE80211_M_NOWAIT); in ieee80211_encap() 1733 (mtod(m, uint8_t *) + hdrspace); in ieee80211_encap() 1975 u_int hdrspace; in ieee80211_fragment() local 1985 hdrspace = roundup(hdrsize, sizeof(uint32_t)); in ieee80211_fragment() [all …]
|
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() 493 ieee80211_amsdu_encap(struct ieee80211vap *vap, struct mbuf *m1, int hdrspace, in ieee80211_amsdu_encap() argument 515 hdrspace + sizeof(struct llc) + sizeof(uint32_t) + in ieee80211_amsdu_encap()
|
H A D | ieee80211_superg.h | 143 int hdrspace, struct ieee80211_key *key);
|
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()
|