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
377 icmp_param->data_len+icmp_param->head_len, in icmp_push_reply()
378 icmp_param->head_len, in icmp_push_reply()
389 icmp_param->head_len); in icmp_push_reply()
767 icmp_param.head_len = sizeof(struct icmphdr); in __icmp_send()
1015 icmp_param.head_len = sizeof(struct icmphdr); in icmp_echo()
1164 icmp_param.head_len = sizeof(struct icmphdr) + 12; in icmp_timestamp()
/net/mac80211/
Dmesh.c809 int head_len, tail_len; in ieee80211_mesh_build_beacon() local
828 head_len = hdr_len + in ieee80211_mesh_build_beacon()
853 bcn = kzalloc(sizeof(*bcn) + head_len + tail_len, GFP_KERNEL); in ieee80211_mesh_build_beacon()
855 skb = dev_alloc_skb(max(head_len, tail_len)); in ieee80211_mesh_build_beacon()
952 bcn->head_len = skb->len; in ieee80211_mesh_build_beacon()
953 memcpy(bcn->head, skb->data, bcn->head_len); in ieee80211_mesh_build_beacon()
957 bcn->tail = bcn->head + bcn->head_len; in ieee80211_mesh_build_beacon()
1285 bcn->head_len + bcn->tail_len); in ieee80211_mesh_rx_probe_req()
1290 skb_put_data(presp, bcn->head, bcn->head_len); in ieee80211_mesh_rx_probe_req()
Dtx.c4811 beacon_data_len = beacon->head_len; in ieee80211_set_beacon_cntdwn()
4815 beacon_data_len = beacon->head_len; in ieee80211_set_beacon_cntdwn()
4936 beacon_data_len = beacon->head_len; in ieee80211_beacon_cntdwn_is_complete()
4945 beacon_data_len = beacon->head_len; in ieee80211_beacon_cntdwn_is_complete()
5037 beacon->head_len + in __ieee80211_beacon_get()
5044 skb_put_data(skb, beacon->head, beacon->head_len); in __ieee80211_beacon_get()
5050 offs->tim_offset = beacon->head_len; in __ieee80211_beacon_get()
5051 offs->tim_length = skb->len - beacon->head_len; in __ieee80211_beacon_get()
5081 skb = dev_alloc_skb(local->tx_headroom + beacon->head_len + in __ieee80211_beacon_get()
5086 skb_put_data(skb, beacon->head, beacon->head_len); in __ieee80211_beacon_get()
[all …]
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()
390 presp->head_len, GFP_KERNEL); in __ieee80211_sta_join_ibss()
1572 skb = dev_alloc_skb(local->tx_headroom + presp->head_len); in ieee80211_rx_mgmt_probe_req()
1577 skb_put_data(skb, presp->head, presp->head_len); in ieee80211_rx_mgmt_probe_req()
Dcfg.c982 new_head_len = params->head_len; in ieee80211_assign_beacon()
984 new_head_len = old->head_len; in ieee80211_assign_beacon()
1007 new->head_len = new_head_len; in ieee80211_assign_beacon()
3089 len = beacon->head_len + beacon->tail_len + beacon->beacon_ies_len + in cfg80211_beacon_dup()
3098 if (beacon->head_len) { in cfg80211_beacon_dup()
3099 new_beacon->head_len = beacon->head_len; in cfg80211_beacon_dup()
3101 memcpy(pos, beacon->head, beacon->head_len); in cfg80211_beacon_dup()
3102 pos += beacon->head_len; in cfg80211_beacon_dup()
Dieee80211_i.h256 int head_len, tail_len; member
/net/ceph/
Dmessenger_v2.c391 int head_len; in head_onwire_len() local
397 head_len = CEPH_PREAMBLE_SECURE_LEN; in head_onwire_len()
400 head_len += padded_len(rem_len) + CEPH_GCM_TAG_LEN; in head_onwire_len()
403 head_len = CEPH_PREAMBLE_PLAIN_LEN; in head_onwire_len()
405 head_len += ctrl_len + CEPH_CRC_LEN; in head_onwire_len()
407 return head_len; in head_onwire_len()
1694 int head_len; in prepare_read_control() local
1700 head_len = head_onwire_len(ctrl_len, false); in prepare_read_control()
1701 buf = alloc_conn_buf(con, head_len); in prepare_read_control()
1710 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.c5468 bcn->head_len = nla_len(attrs[NL80211_ATTR_BEACON_HEAD]); in nl80211_parse_beacon()
5469 if (!bcn->head_len) in nl80211_parse_beacon()