Home
last modified time | relevance | path

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

/net/ipv4/
Dicmp.c109 int head_len; member
368 icmp_param->data_len+icmp_param->head_len, in icmp_push_reply()
369 icmp_param->head_len, in icmp_push_reply()
380 icmp_param->head_len); in icmp_push_reply()
758 icmp_param.head_len = sizeof(struct icmphdr); in __icmp_send()
1009 icmp_param.head_len = sizeof(struct icmphdr); in icmp_echo()
1158 icmp_param.head_len = sizeof(struct icmphdr) + 12; in icmp_timestamp()
/net/mac80211/
Dmesh.c810 int head_len, tail_len; in ieee80211_mesh_build_beacon() local
829 head_len = hdr_len + in ieee80211_mesh_build_beacon()
854 bcn = kzalloc(sizeof(*bcn) + head_len + tail_len, GFP_KERNEL); in ieee80211_mesh_build_beacon()
856 skb = __dev_alloc_skb(max(head_len, tail_len), GFP_KERNEL); in ieee80211_mesh_build_beacon()
953 bcn->head_len = skb->len; in ieee80211_mesh_build_beacon()
954 memcpy(bcn->head, skb->data, bcn->head_len); in ieee80211_mesh_build_beacon()
958 bcn->tail = bcn->head + bcn->head_len; in ieee80211_mesh_build_beacon()
1284 bcn->head_len + bcn->tail_len); in ieee80211_mesh_rx_probe_req()
1289 skb_put_data(presp, bcn->head, bcn->head_len); in ieee80211_mesh_rx_probe_req()
Dibss.c208 presp->head_len = pos - presp->head; in ieee80211_ibss_build_presp()
209 if (WARN_ON(presp->head_len > frame_len)) in ieee80211_ibss_build_presp()
387 presp->head_len, GFP_KERNEL); in __ieee80211_sta_join_ibss()
1568 skb = dev_alloc_skb(local->tx_headroom + presp->head_len); in ieee80211_rx_mgmt_probe_req()
1573 skb_put_data(skb, presp->head, presp->head_len); in ieee80211_rx_mgmt_probe_req()
Dtx.c4892 beacon_data_len = beacon->head_len; in ieee80211_set_beacon_cntdwn()
4896 beacon_data_len = beacon->head_len; in ieee80211_set_beacon_cntdwn()
5011 beacon_data_len = beacon->head_len; in ieee80211_beacon_cntdwn_is_complete()
5020 beacon_data_len = beacon->head_len; in ieee80211_beacon_cntdwn_is_complete()
5166 skb = dev_alloc_skb(local->tx_headroom + beacon->head_len + in ieee80211_beacon_get_ap()
5173 skb_put_data(skb, beacon->head, beacon->head_len); in ieee80211_beacon_get_ap()
5178 offs->tim_offset = beacon->head_len; in ieee80211_beacon_get_ap()
5179 offs->tim_length = skb->len - beacon->head_len; in ieee80211_beacon_get_ap()
5253 skb = dev_alloc_skb(local->tx_headroom + beacon->head_len + in __ieee80211_beacon_get()
5258 skb_put_data(skb, beacon->head, beacon->head_len); in __ieee80211_beacon_get()
[all …]
Dcfg.c1111 new_head_len = params->head_len; in ieee80211_assign_beacon()
1113 new_head_len = old->head_len; in ieee80211_assign_beacon()
1147 new->head_len = new_head_len; in ieee80211_assign_beacon()
3354 len = beacon->head_len + beacon->tail_len + beacon->beacon_ies_len + in cfg80211_beacon_dup()
3375 if (beacon->head_len) { in cfg80211_beacon_dup()
3376 new_beacon->head_len = beacon->head_len; in cfg80211_beacon_dup()
3378 memcpy(pos, beacon->head, beacon->head_len); in cfg80211_beacon_dup()
3379 pos += beacon->head_len; in cfg80211_beacon_dup()
Dieee80211_i.h267 int head_len, tail_len; member
/net/ceph/
Dmessenger_v2.c392 int head_len; in head_onwire_len() local
398 head_len = CEPH_PREAMBLE_SECURE_LEN; in head_onwire_len()
401 head_len += padded_len(rem_len) + CEPH_GCM_TAG_LEN; in head_onwire_len()
404 head_len = CEPH_PREAMBLE_PLAIN_LEN; in head_onwire_len()
406 head_len += ctrl_len + CEPH_CRC_LEN; in head_onwire_len()
408 return head_len; in head_onwire_len()
1714 int head_len; in prepare_read_control() local
1720 head_len = head_onwire_len(ctrl_len, false); in prepare_read_control()
1721 buf = alloc_conn_buf(con, head_len); in prepare_read_control()
1730 add_in_sign_kvec(con, buf, head_len); in prepare_read_control()
/net/wireless/
Dtrace.h624 __dynamic_array(u8, head, info ? info->head_len : 0)
640 info->head_len);
Dnl80211.c5465 bcn->head_len = nla_len(attrs[NL80211_ATTR_BEACON_HEAD]); in nl80211_parse_beacon()
5466 if (!bcn->head_len) in nl80211_parse_beacon()