Home
last modified time | relevance | path

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

12345678910>>...29

/linux-6.6.21/drivers/net/wireless/intersil/p54/
Dfwio.c204 hdr = skb_put(skb, sizeof(*hdr)); in p54_alloc_skb()
234 eeprom_hdr = skb_put(skb, eeprom_hdr_size + len); in p54_download_eeprom()
270 tim = skb_put(skb, sizeof(*tim)); in p54_update_beacon_tim()
287 sta = skb_put(skb, sizeof(*sta)); in p54_sta_unlock()
307 cancel = skb_put(skb, sizeof(*cancel)); in p54_tx_cancel()
324 setup = skb_put(skb, sizeof(*setup)); in p54_setup_mac()
410 head = skb_put(skb, sizeof(*head)); in p54_scan()
417 __le16 *pa_power_points = skb_put(skb, 2); in p54_scan()
421 iq_autocal = skb_put(skb, sizeof(*iq_autocal)); in p54_scan()
434 body = skb_put(skb, sizeof(body->longbow)); in p54_scan()
[all …]
/linux-6.6.21/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()
/linux-6.6.21/drivers/net/wireless/marvell/mwifiex/
Dtdls.c136 pos = skb_put(skb, supp_rates_size + 2); in mwifiex_tdls_append_rates_ie()
143 pos = skb_put(skb, ext_rates_size + 2); in mwifiex_tdls_append_rates_ie()
160 pos = skb_put(skb, 4); in mwifiex_tdls_add_aid()
174 pos = skb_put(skb, sizeof(struct ieee80211_vht_cap) + 2); in mwifiex_tdls_add_vht_capab()
209 pos = skb_put(skb, sizeof(struct ieee80211_ht_operation) + 2); in mwifiex_tdls_add_ht_oper()
274 pos = skb_put(skb, sizeof(struct ieee80211_vht_operation) + 2); in mwifiex_tdls_add_vht_oper()
361 extcap = skb_put(skb, sizeof(struct ieee_types_extcap)); in mwifiex_tdls_add_ext_capab()
374 u8 *pos = skb_put(skb, 3); in mwifiex_tdls_add_qos_capab()
415 buf = skb_put(skb, in mwifiex_add_wmm_info_ie()
433 bssco = skb_put(skb, sizeof(struct ieee_types_bss_co_2040)); in mwifiex_tdls_add_bss_co_2040()
[all …]
/linux-6.6.21/drivers/net/wireless/intel/ipw2x00/
Dlibipw_tx.c350 libipw_copy_snap(skb_put(skb_new, SNAP_SIZE + sizeof(u16)), in libipw_xmit()
352 skb_copy_from_linear_data(skb, skb_put(skb_new, skb->len), skb->len); in libipw_xmit()
428 frag_hdr = skb_put(skb_frag, hdr_len); in libipw_xmit()
444 skb_put(skb_frag, 4); in libipw_xmit()
472 libipw_copy_snap(skb_put in libipw_xmit()
478 skb_copy_from_linear_data(skb, skb_put(skb_frag, bytes), bytes); in libipw_xmit()
490 skb_put(skb_frag, 4); in libipw_xmit()
/linux-6.6.21/net/mac80211/
Dtdls.c56 u8 *pos = skb_put(skb, 10); in ieee80211_tdls_add_ext_capab()
107 u8 *pos = skb_put(skb, 2); in ieee80211_tdls_add_subband()
118 u8 *pos = skb_put(skb, 2); in ieee80211_tdls_add_subband()
137 u8 *pos = skb_put(skb, 2); in ieee80211_tdls_add_supp_channels()
166 pos = skb_put(skb, 4); in ieee80211_tdls_add_oper_classes()
176 u8 *pos = skb_put(skb, 3); in ieee80211_tdls_add_bss_coex_ie()
219 lnkid = skb_put(skb, sizeof(struct ieee80211_tdls_lnkie)); in ieee80211_tdls_add_link_ie()
232 u8 *pos = skb_put(skb, 4); in ieee80211_tdls_add_aid()
411 ieee80211_add_wmm_info_ie(skb_put(skb, 9), 0); /* no U-APSD */ in ieee80211_tdls_add_setup_start_ies()
462 pos = skb_put(skb, sizeof(struct ieee80211_ht_cap) + 2); in ieee80211_tdls_add_setup_start_ies()
[all …]
/linux-6.6.21/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()
/linux-6.6.21/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()
/linux-6.6.21/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.c452 put_unaligned_le32(hci_pi(sk)->cookie, skb_put(skb, 4)); in hci_send_monitor_ctrl_event()
453 put_unaligned_le16(event, skb_put(skb, 2)); in hci_send_monitor_ctrl_event()
487 ni = skb_put(skb, HCI_MON_NEW_INDEX_SIZE); in create_monitor_event()
515 ii = skb_put(skb, HCI_MON_INDEX_INFO_SIZE); in create_monitor_event()
592 put_unaligned_le32(hci_pi(sk)->cookie, skb_put(skb, 4)); in create_monitor_ctrl_open()
593 put_unaligned_le16(format, skb_put(skb, 2)); in create_monitor_ctrl_open()
595 put_unaligned_le32(flags, skb_put(skb, 4)); in create_monitor_ctrl_open()
637 put_unaligned_le32(hci_pi(sk)->cookie, skb_put(skb, 4)); in create_monitor_ctrl_close()
665 put_unaligned_le32(hci_pi(sk)->cookie, skb_put(skb, 4)); in create_monitor_ctrl_command()
666 put_unaligned_le16(opcode, skb_put(skb, 2)); in create_monitor_ctrl_command()
[all …]
/linux-6.6.21/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()
/linux-6.6.21/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 …]
/linux-6.6.21/drivers/net/wireless/rsi/
Drsi_91x_mgmt.c470 skb_put(skb, frame_len); in rsi_load_radio_caps()
587 skb_put(skb, frame_len); in rsi_hal_send_sta_notify_frame()
652 skb_put(skb, frame_len); in rsi_send_aggregation_params_frame()
696 skb_put(skb, frame_len); in rsi_program_bb_rf()
775 skb_put(skb, frame_len); in rsi_set_vap_capabilities()
857 skb_put(skb, frame_len); in rsi_hal_load_key()
904 skb_put(skb, frame_len); in rsi_send_common_dev_params()
965 skb_put(skb, sizeof(struct rsi_boot_params)); in rsi_load_bootup_params()
1009 skb_put(skb, sizeof(struct rsi_boot_params_9116)); in rsi_load_9116_bootup_params()
1047 skb_put(skb, FRAME_DESC_SZ); in rsi_send_reset_mac()
[all …]
/linux-6.6.21/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()
/linux-6.6.21/net/dsa/
Dtag_ksz.c130 tag = skb_put(skb, KSZ_INGRESS_TAG_LEN); in ksz8795_xmit()
232 put_unaligned_be32(tstamp_raw, skb_put(skb, KSZ_PTP_TAG_LEN)); in ksz_xmit_timestamp()
286 tag = skb_put(skb, KSZ9477_INGRESS_TAG_LEN); in ksz9477_xmit()
349 tag = skb_put(skb, KSZ_INGRESS_TAG_LEN); in ksz9893_xmit()
415 tag = skb_put(skb, LAN937X_EGRESS_TAG_LEN); in lan937x_xmit()
/linux-6.6.21/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()
/linux-6.6.21/drivers/net/wireless/realtek/rtw89/
Dfw.c1185 skb_put(skb, H2C_CAM_LEN); in rtw89_fw_h2c_cam()
1221 skb_put(skb, H2C_DCTL_SEC_CAM_LEN); in rtw89_fw_h2c_dctl_sec_cam_v1()
1274 skb_put(skb, H2C_BA_CAM_LEN); in rtw89_fw_h2c_ba_cam()
1328 skb_put(skb, H2C_BA_CAM_LEN); in rtw89_fw_h2c_init_ba_cam_v0_ext()
1383 skb_put(skb, H2C_LOG_CFG_LEN); in rtw89_fw_h2c_fw_log()
1504 skb_put(skb, H2C_GENERAL_PKT_LEN); in rtw89_fw_h2c_general_pkt()
1543 skb_put(skb, H2C_LPS_PARM_LEN); in rtw89_fw_h2c_lps_parm()
1592 skb_put(skb, H2C_P2P_ACT_LEN); in rtw89_fw_h2c_p2p_act()
1664 skb_put(skb, H2C_CMC_TBL_LEN); in rtw89_fw_h2c_default_cmac_tbl()
1786 skb_put(skb, H2C_CMC_TBL_LEN); in rtw89_fw_h2c_assoc_cmac_tbl()
[all …]
/linux-6.6.21/drivers/net/wireless/ath/ath10k/
Dhtt_tx.c618 skb_put(skb, len); in ath10k_htt_h2t_ver_req_msg()
647 skb_put(skb, len); in ath10k_htt_h2t_stats_req()
697 skb_put(skb, size); in ath10k_htt_send_frag_desc_bank_cfg_32()
759 skb_put(skb, size); in ath10k_htt_send_frag_desc_bank_cfg_64()
841 skb_put(skb, len); in ath10k_htt_send_rx_ring_cfg_32()
913 skb_put(skb, len); in ath10k_htt_send_rx_ring_cfg_64()
982 skb_put(skb, len); in ath10k_htt_send_rx_ring_cfg_hl()
1035 skb_put(skb, len); in ath10k_htt_h2t_aggr_cfg_msg_32()
1082 skb_put(skb, len); in ath10k_htt_h2t_aggr_cfg_msg_v2()
1127 skb_put(skb, len); in ath10k_htt_tx_fetch_resp()
[all …]
/linux-6.6.21/drivers/net/wireless/quantenna/qtnfmac/
Dqlink_util.h25 hdr = skb_put(skb, sizeof(*hdr) + round_up(arr_len, QLINK_ALIGN)); in qtnf_cmd_skb_put_tlv_arr()
34 struct qlink_tlv_hdr *hdr = skb_put(skb, sizeof(*hdr) + sizeof(value)); in qtnf_cmd_skb_put_tlv_u32()
/linux-6.6.21/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()
/linux-6.6.21/drivers/nfc/st-nci/
Dspi.c101 skb_put(skb_rx, skb->len); in st_nci_spi_write()
145 skb_put(*skb, ST_NCI_SPI_MIN_SIZE); in st_nci_spi_read()
158 skb_put(*skb, len); in st_nci_spi_read()
/linux-6.6.21/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()
/linux-6.6.21/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()
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx4/
Den_selftest.c66 ethh = skb_put(skb, sizeof(struct ethhdr)); in mlx4_en_test_loopback_xmit()
67 packet = skb_put(skb, packet_size); in mlx4_en_test_loopback_xmit()

12345678910>>...29