Home
last modified time | relevance | path

Searched refs:he (Results 1 – 4 of 4) sorted by relevance

/net/netfilter/
Dnft_set_hash.c52 const struct nft_rhash_elem *he = data; in nft_rhash_obj() local
54 return jhash(nft_set_ext_key(&he->ext), len, seed); in nft_rhash_obj()
61 const struct nft_rhash_elem *he = ptr; in nft_rhash_cmp() local
63 if (memcmp(nft_set_ext_key(&he->ext), x->key, x->set->klen)) in nft_rhash_cmp()
65 if (nft_set_elem_is_dead(&he->ext)) in nft_rhash_cmp()
67 if (nft_set_elem_expired(&he->ext)) in nft_rhash_cmp()
69 if (!nft_set_elem_active(&he->ext, x->genmask)) in nft_rhash_cmp()
86 const struct nft_rhash_elem *he; in nft_rhash_lookup() local
93 he = rhashtable_lookup(&priv->ht, &arg, nft_rhash_params); in nft_rhash_lookup()
94 if (he != NULL) in nft_rhash_lookup()
[all …]
/net/mac80211/
Dstatus.c431 struct ieee80211_radiotap_he *he; in ieee80211_add_tx_radiotap_header() local
437 he = (struct ieee80211_radiotap_he *)pos; in ieee80211_add_tx_radiotap_header()
439 he->data1 = cpu_to_le16(IEEE80211_RADIOTAP_HE_DATA1_FORMAT_SU | in ieee80211_add_tx_radiotap_header()
444 he->data2 = cpu_to_le16(IEEE80211_RADIOTAP_HE_DATA2_GI_KNOWN); in ieee80211_add_tx_radiotap_header()
448 he->data6 |= HE_PREP(DATA6_NSTS, status->rate->nss); in ieee80211_add_tx_radiotap_header()
458 he->data3 |= HE_PREP(DATA3_DATA_MCS, status->rate->mcs); in ieee80211_add_tx_radiotap_header()
459 he->data3 |= HE_PREP(DATA3_DATA_DCM, status->rate->he_dcm); in ieee80211_add_tx_radiotap_header()
461 he->data5 |= HE_PREP(DATA5_GI, status->rate->he_gi); in ieee80211_add_tx_radiotap_header()
465 he->data5 |= HE_PREP(DATA5_DATA_BW_RU_ALLOC, in ieee80211_add_tx_radiotap_header()
469 he->data5 |= HE_PREP(DATA5_DATA_BW_RU_ALLOC, in ieee80211_add_tx_radiotap_header()
[all …]
Drx.c305 struct ieee80211_radiotap_he he = {}; in ieee80211_add_rx_radiotap_header() local
310 he = *(struct ieee80211_radiotap_he *)skb->data; in ieee80211_add_rx_radiotap_header()
311 skb_pull(skb, sizeof(he)); in ieee80211_add_rx_radiotap_header()
587 he.data6 |= HE_PREP(DATA6_NSTS, in ieee80211_add_rx_radiotap_header()
590 he.data3 |= HE_PREP(DATA3_STBC, 1); in ieee80211_add_rx_radiotap_header()
592 he.data6 |= HE_PREP(DATA6_NSTS, status->nss); in ieee80211_add_rx_radiotap_header()
603 he.data3 |= HE_PREP(DATA3_DATA_MCS, status->rate_idx); in ieee80211_add_rx_radiotap_header()
604 he.data3 |= HE_PREP(DATA3_DATA_DCM, status->he_dcm); in ieee80211_add_rx_radiotap_header()
605 he.data3 |= HE_PREP(DATA3_CODING, in ieee80211_add_rx_radiotap_header()
608 he.data5 |= HE_PREP(DATA5_GI, status->he_gi); in ieee80211_add_rx_radiotap_header()
[all …]
DMakefile15 he.o \