Searched refs:elen (Results 1 – 5 of 5) sorted by relevance
/net/mac80211/ |
D | util.c | 1027 u8 elen = elem->datalen; in _ieee802_11_parse_elems_full() local 1088 crc = crc32_be(crc, pos - 2, elen + 2); in _ieee802_11_parse_elems_full() 1094 if (elen + 2 < sizeof(struct ieee80211_tdls_lnkie)) { in _ieee802_11_parse_elems_full() 1101 if (elen < sizeof(struct ieee80211_ch_switch_timing)) { in _ieee802_11_parse_elems_full() 1109 elems->ext_capab_len = elen; in _ieee802_11_parse_elems_full() 1113 elems->ssid_len = elen; in _ieee802_11_parse_elems_full() 1117 elems->supp_rates_len = elen; in _ieee802_11_parse_elems_full() 1120 if (elen >= 1) in _ieee802_11_parse_elems_full() 1126 if (elen >= sizeof(struct ieee80211_tim_ie)) { in _ieee802_11_parse_elems_full() 1128 elems->tim_len = elen; in _ieee802_11_parse_elems_full() [all …]
|
/net/ipv4/ |
D | esp4.c | 707 int alen, hlen, elen; in esp_remove_trailer() local 715 elen = skb->len - hlen; in esp_remove_trailer() 722 if (padlen + 2 + alen >= elen) { in esp_remove_trailer() 724 padlen + 2, elen - alen); in esp_remove_trailer() 883 int elen = skb->len - sizeof(struct ip_esp_hdr) - ivlen; in esp_input() local 896 if (elen <= 0) in esp_input() 954 aead_request_set_crypt(req, sg, sg, elen + ivlen, iv); in esp_input()
|
/net/ipv6/ |
D | esp6.c | 745 int alen, hlen, elen; in esp_remove_trailer() local 753 elen = skb->len - hlen; in esp_remove_trailer() 760 if (padlen + 2 + alen >= elen) { in esp_remove_trailer() 762 padlen + 2, elen - alen); in esp_remove_trailer() 927 int elen = skb->len - sizeof(struct ip_esp_hdr) - ivlen; in esp6_input() local 942 if (elen <= 0) { in esp6_input() 1002 aead_request_set_crypt(req, sg, sg, elen + ivlen, iv); in esp6_input()
|
/net/sctp/ |
D | ulpevent.c | 383 int elen; in sctp_ulpevent_make_remote_error() local 387 elen = SCTP_PAD4(ntohs(ch->length)) - sizeof(*ch); in sctp_ulpevent_make_remote_error() 398 skb_pull(chunk->skb, elen); in sctp_ulpevent_make_remote_error() 409 skb_trim(skb, sizeof(*sre) + elen); in sctp_ulpevent_make_remote_error()
|
/net/ceph/ |
D | osd_client.c | 5859 u64 eoff, elen, len = 0; in osd_sparse_read() local 5933 elen = sr->sr_extent[sr->sr_index].len; in osd_sparse_read() 5936 o->o_osd, sr->sr_index, eoff, elen); in osd_sparse_read() 5938 if (elen > INT_MAX) { in osd_sparse_read() 5940 elen); in osd_sparse_read() 5949 sr->sr_pos = eoff + elen; in osd_sparse_read() 5952 cursor->sr_resid = elen; in osd_sparse_read() 5953 ret = elen; in osd_sparse_read()
|