Home
last modified time | relevance | path

Searched refs:hdrspace (Results 1 – 9 of 9) sorted by relevance

/f-stack/freebsd/net80211/
H A Dieee80211_wds.c422 int hdrspace, need_tap = 1; /* mbuf need to be tapped. */ in wds_input() local
448 hdrspace = ieee80211_hdrspace(ic, wh); /* XXX optimize? */ in wds_input()
516 hdrspace = ieee80211_hdrspace(ic, wh); in wds_input()
517 if (m->m_len < hdrspace && in wds_input()
518 (m = m_pullup(m, hdrspace)) == NULL) { in wds_input()
521 "data too short: expecting %u", hdrspace); in wds_input()
572 if (ieee80211_crypto_decap(ni, m, hdrspace, &key) == 0) { in wds_input()
597 m = ieee80211_defrag(ni, m, hdrspace); in wds_input()
624 m = ieee80211_decap(vap, m, hdrspace); in wds_input()
H A Dieee80211_adhoc.c318 int hdrspace, need_tap = 1; /* mbuf need to be tapped. */ in adhoc_input() local
345 hdrspace = ieee80211_hdrspace(ic, wh); /* XXX optimize? */ in adhoc_input()
460 hdrspace = ieee80211_hdrspace(ic, wh); in adhoc_input()
461 if (m->m_len < hdrspace && in adhoc_input()
462 (m = m_pullup(m, hdrspace)) == NULL) { in adhoc_input()
465 "data too short: expecting %u", hdrspace); in adhoc_input()
509 if (ieee80211_crypto_decap(ni, m, hdrspace, &key) == 0) { in adhoc_input()
534 m = ieee80211_defrag(ni, m, hdrspace); in adhoc_input()
561 m = ieee80211_decap(vap, m, hdrspace); in adhoc_input()
H A Dieee80211_sta.c549 int hdrspace, need_tap = 1; /* mbuf need to be tapped. */ in sta_input() local
576 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); in sta_input()
830 m = ieee80211_decap(vap, m, hdrspace); in sta_input()
949 hdrspace = ieee80211_hdrspace(ic, wh); in sta_input()
[all …]
H A Dieee80211_hostap.c484 int hdrspace, need_tap = 1; /* mbuf need to be tapped. */ in hostap_input() local
511 hdrspace = ieee80211_hdrspace(ic, wh); /* XXX optimize? */ in hostap_input()
591 hdrspace = ieee80211_hdrspace(ic, wh); in hostap_input()
592 if (m->m_len < hdrspace && in hostap_input()
593 (m = m_pullup(m, hdrspace)) == NULL) { in hostap_input()
596 "data too short: expecting %u", hdrspace); in hostap_input()
697 if (ieee80211_crypto_decap(ni, m, hdrspace, &key) == 0) { in hostap_input()
722 m = ieee80211_defrag(ni, m, hdrspace); in hostap_input()
747 m = ieee80211_decap(vap, m, hdrspace); in hostap_input()
867 hdrspace = ieee80211_hdrspace(ic, wh); in hostap_input()
[all …]
H A Dieee80211_superg.h145 int hdrspace, struct ieee80211_key *key);
H A Dieee80211_output.c1635 hdrspace = roundup(hdrsize, sizeof(uint32_t)); in ieee80211_encap()
1637 hdrspace = hdrsize; in ieee80211_encap()
1679 M_PREPEND(m, hdrspace + meshhdrsize, M_NOWAIT); in ieee80211_encap()
1722 (mtod(m, uint8_t *) + hdrspace); in ieee80211_encap()
1964 u_int hdrspace; in ieee80211_fragment() local
1974 hdrspace = roundup(hdrsize, sizeof(uint32_t)); in ieee80211_fragment()
1976 hdrspace = hdrsize; in ieee80211_fragment()
1981 totalhdrsize = hdrspace + ciphdrsize; in ieee80211_fragment()
2015 m_copydata(m0, off, payload, mtod(m, uint8_t *) + hdrspace); in ieee80211_fragment()
2016 m->m_len = hdrspace + payload; in ieee80211_fragment()
[all …]
H A Dieee80211_superg.c363 ieee80211_ff_encap(struct ieee80211vap *vap, struct mbuf *m1, int hdrspace, in ieee80211_ff_encap() argument
385 m1 = ieee80211_mbuf_adjust(vap, hdrspace, key, m1); in ieee80211_ff_encap()
495 ieee80211_amsdu_encap(struct ieee80211vap *vap, struct mbuf *m1, int hdrspace, in ieee80211_amsdu_encap() argument
517 hdrspace + sizeof(struct llc) + sizeof(uint32_t) + in ieee80211_amsdu_encap()
H A Dieee80211_mesh.c1541 int hdrspace, meshdrlen, need_tap, error; in mesh_input() local
1643 hdrspace = ieee80211_hdrspace(ic, wh); in mesh_input()
1645 m = ieee80211_defrag(ni, m, hdrspace); in mesh_input()
1682 (m = m_pullup(m, hdrspace + in mesh_input()
1686 "data too short: expecting %u", hdrspace); in mesh_input()
1696 (mtod(m, const uint8_t *) + hdrspace); in mesh_input()
1700 hdrspace += meshdrlen; in mesh_input()
1704 (m->m_len < hdrspace) && in mesh_input()
1705 ((m = m_pullup(m, hdrspace)) == NULL)) { in mesh_input()
1708 "data too short: expecting %u", hdrspace); in mesh_input()
[all …]
H A Dieee80211_input.c173 ieee80211_defrag(struct ieee80211_node *ni, struct mbuf *m, int hdrspace) in ieee80211_defrag() argument
230 m_adj(m, hdrspace); /* strip header */ in ieee80211_defrag()