Home
last modified time | relevance | path

Searched refs:skb_put (Results 1 – 25 of 146) sorted by relevance

123456

/net/x25/
Dx25_subr.c163 dptr = skb_put(skb, 2); in x25_write_internal()
182 dptr = skb_put(skb, 1); in x25_write_internal()
198 dptr = skb_put(skb, 2); in x25_write_internal()
219 dptr = skb_put(skb, 3); in x25_write_internal()
226 dptr = skb_put(skb, 3); in x25_write_internal()
236 dptr = skb_put(skb, 2); in x25_write_internal()
240 dptr = skb_put(skb, 1); in x25_write_internal()
249 dptr = skb_put(skb, 1); in x25_write_internal()
Dx25_dev.c159 ptr = skb_put(skb, 1); in x25_establish_link()
187 ptr = skb_put(skb, 1); in x25_terminate_link()
Dx25_link.c143 dptr = skb_put(skb, X25_STD_MIN_LEN + 2); in x25_transmit_restart_request()
170 dptr = skb_put(skb, X25_STD_MIN_LEN); in x25_transmit_restart_confirmation()
197 dptr = skb_put(skb, X25_STD_MIN_LEN + 2); in x25_transmit_clear_request()
/net/mac80211/
Dtdls.c55 u8 *pos = skb_put(skb, 10); in ieee80211_tdls_add_ext_capab()
106 u8 *pos = skb_put(skb, 2); in ieee80211_tdls_add_subband()
117 u8 *pos = skb_put(skb, 2); in ieee80211_tdls_add_subband()
136 u8 *pos = skb_put(skb, 2); in ieee80211_tdls_add_supp_channels()
165 pos = skb_put(skb, 4); in ieee80211_tdls_add_oper_classes()
175 u8 *pos = skb_put(skb, 3); in ieee80211_tdls_add_bss_coex_ie()
216 lnkid = skb_put(skb, sizeof(struct ieee80211_tdls_lnkie)); in ieee80211_tdls_add_link_ie()
229 u8 *pos = skb_put(skb, 4); in ieee80211_tdls_add_aid()
405 ieee80211_add_wmm_info_ie(skb_put(skb, 9), 0); /* no U-APSD */ in ieee80211_tdls_add_setup_start_ies()
460 pos = skb_put(skb, sizeof(struct ieee80211_ht_cap) + 2); in ieee80211_tdls_add_setup_start_ies()
[all …]
Dmesh.c269 pos = skb_put(skb, 2 + meshconf_len); in mesh_add_meshconf_ie()
312 pos = skb_put(skb, 2 + ifmsh->mesh_id_len); in mesh_add_meshid_ie()
336 pos = skb_put(skb, 2 + 2); in mesh_add_awake_window_ie()
410 pos = skb_put(skb, 2 + 1); in mesh_add_ds_params_ie()
441 pos = skb_put(skb, 2 + sizeof(struct ieee80211_ht_cap)); in mesh_add_ht_cap_ie()
482 pos = skb_put(skb, 2 + sizeof(struct ieee80211_ht_operation)); in mesh_add_ht_oper_ie()
513 pos = skb_put(skb, 2 + sizeof(struct ieee80211_vht_cap)); in mesh_add_vht_cap_ie()
554 pos = skb_put(skb, 2 + sizeof(struct ieee80211_vht_operation)); in mesh_add_vht_oper_ie()
583 pos = skb_put(skb, ie_len); in mesh_add_he_cap_ie()
615 pos = skb_put(skb, len); in mesh_add_he_oper_ie()
[all …]
Dwpa.c77 mic = skb_put(skb, MICHAEL_MIC_LEN); in ieee80211_tx_h_michael_mic_add()
241 skb_put(skb, IEEE80211_TKIP_ICV_LEN); in tkip_encrypt_skb()
484 skb_put(skb, mic_len)); in ccmp_encrypt_skb()
685 skb_put(skb, IEEE80211_GCMP_MIC_LEN)); in gcmp_encrypt_skb()
844 mmie = skb_put(skb, sizeof(*mmie)); in ieee80211_crypto_aes_cmac_encrypt()
891 mmie = skb_put(skb, sizeof(*mmie)); in ieee80211_crypto_aes_cmac_256_encrypt()
1036 mmie = skb_put(skb, sizeof(*mmie)); in ieee80211_crypto_aes_gmac_encrypt()
/net/bridge/
Dbr_cfm.c197 eth_hdr = skb_put(skb, sizeof(*eth_hdr)); in ccm_frame_build()
203 common_hdr = skb_put(skb, sizeof(*common_hdr)); in ccm_frame_build()
211 snumber = skb_put(skb, sizeof(*snumber)); in ccm_frame_build()
219 mepid = skb_put(skb, sizeof(*mepid)); in ccm_frame_build()
222 maid = skb_put(skb, sizeof(*maid)); in ccm_frame_build()
226 itu_reserved = skb_put(skb, CFM_CCM_ITU_RESERVED_SIZE); in ccm_frame_build()
237 status_tlv = skb_put(skb, sizeof(*status_tlv)); in ccm_frame_build()
245 status_tlv = skb_put(skb, sizeof(*status_tlv)); in ccm_frame_build()
252 e_tlv = skb_put(skb, sizeof(*e_tlv)); in ccm_frame_build()
Dbr_mrp.c154 version = skb_put(skb, sizeof(*version)); in br_mrp_skb_alloc()
166 hdr = skb_put(skb, sizeof(*hdr)); in br_mrp_skb_tlv()
177 hdr = skb_put(skb, sizeof(*hdr)); in br_mrp_skb_common()
197 hdr = skb_put(skb, sizeof(*hdr)); in br_mrp_alloc_test_skb()
222 oui = skb_put(skb, sizeof(*oui)); in br_mrp_alloc_test_skb()
224 sub_opt = skb_put(skb, sizeof(*sub_opt)); in br_mrp_alloc_test_skb()
227 sub_tlv = skb_put(skb, sizeof(*sub_tlv)); in br_mrp_alloc_test_skb()
231 skb_put(skb, MRP_OPT_PADDING); in br_mrp_alloc_test_skb()
254 hdr = skb_put(skb, sizeof(*hdr)); in br_mrp_alloc_in_test_skb()
/net/key/
Daf_key.c334 hdr = skb_put(skb, sizeof(struct sadb_msg)); in pfkey_error()
830 hdr = skb_put(skb, sizeof(struct sadb_msg)); in __pfkey_xfrm_state2msg()
835 sa = skb_put(skb, sizeof(struct sadb_sa)); in __pfkey_xfrm_state2msg()
882 lifetime = skb_put(skb, sizeof(struct sadb_lifetime)); in __pfkey_xfrm_state2msg()
893 lifetime = skb_put(skb, sizeof(struct sadb_lifetime)); in __pfkey_xfrm_state2msg()
903 lifetime = skb_put(skb, sizeof(struct sadb_lifetime)); in __pfkey_xfrm_state2msg()
912 addr = skb_put(skb, sizeof(struct sadb_address) + sockaddr_size); in __pfkey_xfrm_state2msg()
930 addr = skb_put(skb, sizeof(struct sadb_address) + sockaddr_size); in __pfkey_xfrm_state2msg()
946 addr = skb_put(skb, in __pfkey_xfrm_state2msg()
964 key = skb_put(skb, sizeof(struct sadb_key) + auth_key_size); in __pfkey_xfrm_state2msg()
[all …]
/net/lapb/
Dlapb_subr.c234 dptr = skb_put(skb, 1); in lapb_send_control()
238 dptr = skb_put(skb, 2); in lapb_send_control()
244 dptr = skb_put(skb, 1); in lapb_send_control()
269 dptr = skb_put(skb, 6); in lapb_transmit_frmr()
284 dptr = skb_put(skb, 4); in lapb_transmit_frmr()
/net/dsa/
Dtag_ksz.c60 tag = skb_put(skb, KSZ_INGRESS_TAG_LEN); in ksz8795_xmit()
123 tag = skb_put(skb, KSZ9477_INGRESS_TAG_LEN); in ksz9477_xmit()
175 tag = skb_put(skb, KSZ_INGRESS_TAG_LEN); in ksz9893_xmit()
229 tag = skb_put(skb, LAN937X_EGRESS_TAG_LEN); in lan937x_xmit()
Dtag_trailer.c18 trailer = skb_put(skb, 4); in trailer_xmit()
Dtag_hellcreek.c33 tag = skb_put(skb, HELLCREEK_TAG_LEN); in hellcreek_xmit()
/net/core/
Dselftests.c85 ihdr = skb_put(skb, sizeof(*ihdr)); in net_test_get_skb()
89 thdr = skb_put(skb, sizeof(*thdr)); in net_test_get_skb()
91 uhdr = skb_put(skb, sizeof(*uhdr)); in net_test_get_skb()
141 shdr = skb_put(skb, sizeof(*shdr)); in net_test_get_skb()
148 skb_put(skb, attr->size); in net_test_get_skb()
150 skb_put(skb, attr->max_size - skb->len); in net_test_get_skb()
/net/bluetooth/
Dmgmt_util.c43 put_unaligned_le32(cookie, skb_put(skb, 4)); in create_monitor_ctrl_event()
44 put_unaligned_le16(opcode, skb_put(skb, 2)); in create_monitor_ctrl_event()
139 hdr = skb_put(skb, sizeof(*hdr)); in mgmt_cmd_status()
145 ev = skb_put(skb, sizeof(*ev)); in mgmt_cmd_status()
183 hdr = skb_put(skb, sizeof(*hdr)); in mgmt_cmd_complete()
189 ev = skb_put(skb, sizeof(*ev) + rp_len); in mgmt_cmd_complete()
Dhci_sock.c403 put_unaligned_le32(hci_pi(sk)->cookie, skb_put(skb, 4)); in hci_send_monitor_ctrl_event()
404 put_unaligned_le16(event, skb_put(skb, 2)); in hci_send_monitor_ctrl_event()
438 ni = skb_put(skb, HCI_MON_NEW_INDEX_SIZE); in create_monitor_event()
466 ii = skb_put(skb, HCI_MON_INDEX_INFO_SIZE); in create_monitor_event()
541 put_unaligned_le32(hci_pi(sk)->cookie, skb_put(skb, 4)); in create_monitor_ctrl_open()
542 put_unaligned_le16(format, skb_put(skb, 2)); in create_monitor_ctrl_open()
544 put_unaligned_le32(flags, skb_put(skb, 4)); in create_monitor_ctrl_open()
584 put_unaligned_le32(hci_pi(sk)->cookie, skb_put(skb, 4)); in create_monitor_ctrl_close()
610 put_unaligned_le32(hci_pi(sk)->cookie, skb_put(skb, 4)); in create_monitor_ctrl_command()
611 put_unaligned_le16(opcode, skb_put(skb, 2)); in create_monitor_ctrl_command()
[all …]
/net/sctp/
Dulpevent.c154 sac = skb_put(skb, sizeof(struct sctp_assoc_change)); in sctp_ulpevent_make_assoc_change()
256 spc = skb_put(skb, sizeof(struct sctp_paddr_change)); in sctp_ulpevent_make_peer_addr_change()
591 sse = skb_put(skb, sizeof(struct sctp_shutdown_event)); in sctp_ulpevent_make_shutdown_event()
653 sai = skb_put(skb, sizeof(struct sctp_adaptation_event)); in sctp_ulpevent_make_adaptation_indication()
786 pd = skb_put(skb, sizeof(struct sctp_pdapi_event)); in sctp_ulpevent_make_pdapi()
839 ak = skb_put(skb, sizeof(struct sctp_authkey_event)); in sctp_ulpevent_make_authkey()
877 sdry = skb_put(skb, sizeof(struct sctp_sender_dry_event)); in sctp_ulpevent_make_sender_dry_event()
903 sreset = skb_put(skb, length); in sctp_ulpevent_make_stream_reset_event()
931 areset = skb_put(skb, sizeof(struct sctp_assoc_reset_event)); in sctp_ulpevent_make_assoc_reset_event()
958 schange = skb_put(skb, sizeof(struct sctp_stream_change_event)); in sctp_ulpevent_make_stream_change_event()
/net/ax25/
Dax25_subr.c161 dptr = skb_put(skb, 1); in ax25_send_control()
168 dptr = skb_put(skb, 1); in ax25_send_control()
172 dptr = skb_put(skb, 2); in ax25_send_control()
204 dptr = skb_put(skb, 1); in ax25_return_dm()
/net/rose/
Drose_link.c189 dptr = skb_put(skb, ROSE_MIN_LEN + 3); in rose_transmit_restart_request()
218 dptr = skb_put(skb, ROSE_MIN_LEN + 1); in rose_transmit_restart_confirmation()
249 dptr = skb_put(skb, ROSE_MIN_LEN + 3); in rose_transmit_clear_request()
/net/netfilter/
Dnf_synproxy_core.c402 iph = skb_put(skb, sizeof(*iph)); in synproxy_build_ip()
469 nth = skb_put(nskb, tcp_hdr_size); in synproxy_send_client_synack()
512 nth = skb_put(nskb, tcp_hdr_size); in synproxy_send_server_syn()
557 nth = skb_put(nskb, tcp_hdr_size); in synproxy_send_server_ack()
595 nth = skb_put(nskb, tcp_hdr_size); in synproxy_send_client_ack()
801 iph = skb_put(skb, sizeof(*iph)); in synproxy_build_ip_ipv6()
882 nth = skb_put(nskb, tcp_hdr_size); in synproxy_send_client_synack_ipv6()
926 nth = skb_put(nskb, tcp_hdr_size); in synproxy_send_server_syn_ipv6()
971 nth = skb_put(nskb, tcp_hdr_size); in synproxy_send_server_ack_ipv6()
1010 nth = skb_put(nskb, tcp_hdr_size); in synproxy_send_client_ack_ipv6()
/net/bluetooth/cmtp/
Dcore.c123 skb_copy_from_linear_data(skb, skb_put(nskb, skb->len), skb->len); in cmtp_add_msgpart()
244 hdr = skb_put(nskb, 2); in cmtp_process_transmit()
250 hdr = skb_put(nskb, 3); in cmtp_process_transmit()
258 skb_copy_from_linear_data(skb, skb_put(nskb, size), size); in cmtp_process_transmit()
/net/nfc/
Ddigital_technology.c354 skb_put(skb, sizeof(struct digital_sel_req)); in digital_in_send_sel_req()
624 attrib_req = skb_put(skb, sizeof(*attrib_req)); in digital_in_send_attrib_req()
728 sensb_req = skb_put(skb, sizeof(*sensb_req)); in digital_in_send_sensb_req()
818 skb_put(skb, size); in digital_in_send_sensf_req()
907 skb_put(skb, sizeof(*req) - sizeof(req->mask)); /* No mask */ in digital_in_send_iso15693_inv_req()
996 skb_put(skb, sizeof(struct digital_sdd_res)); in digital_tg_send_sdd_res()
1060 sens_res = skb_put(skb, 2); in digital_tg_send_sens_res()
1138 skb_put(skb, size); in digital_tg_send_sensf_res()
/net/hsr/
Dhsr_device.c298 hsr_stag = skb_put(skb, sizeof(struct hsr_sup_tag)); in send_hsr_supervision_frame()
318 hsr_sp = skb_put(skb, sizeof(struct hsr_sup_payload)); in send_hsr_supervision_frame()
346 hsr_stag = skb_put(skb, sizeof(struct hsr_sup_tag)); in send_prp_supervision_frame()
358 hsr_sp = skb_put(skb, sizeof(struct hsr_sup_payload)); in send_prp_supervision_frame()
/net/netrom/
Dnr_subr.c153 dptr = skb_put(skb, len); in nr_write_internal()
225 dptr = skb_put(skbn, NR_NETWORK_LEN + NR_TRANSPORT_LEN); in __nr_transmit_reply()
/net/mctp/test/
Droute-test.c94 memcpy(skb_put(skb, hdr_len), hdr, hdr_len); in mctp_test_create_skb()
96 buf = skb_put(skb, data_len); in mctp_test_create_skb()
114 memcpy(skb_put(skb, hdr_len), hdr, hdr_len); in __mctp_test_create_skb_data()
115 memcpy(skb_put(skb, data_len), data, data_len); in __mctp_test_create_skb_data()

123456