Home
last modified time | relevance | path

Searched refs:__skb_put (Results 1 – 50 of 50) sorted by relevance

/linux-4.4.14/net/bluetooth/bnep/
Dnetdev.c69 __skb_put(skb, sizeof(*r)); in bnep_net_set_mc_list()
78 memcpy(__skb_put(skb, ETH_ALEN), start, ETH_ALEN); in bnep_net_set_mc_list()
79 memcpy(__skb_put(skb, ETH_ALEN), dev->broadcast, ETH_ALEN); in bnep_net_set_mc_list()
86 memcpy(__skb_put(skb, ETH_ALEN), dev->broadcast, ETH_ALEN); in bnep_net_set_mc_list()
87 memcpy(__skb_put(skb, ETH_ALEN), dev->broadcast, ETH_ALEN); in bnep_net_set_mc_list()
96 memcpy(__skb_put(skb, ETH_ALEN), ha->addr, ETH_ALEN); in bnep_net_set_mc_list()
97 memcpy(__skb_put(skb, ETH_ALEN), ha->addr, ETH_ALEN); in bnep_net_set_mc_list()
Dcore.c377 memcpy(__skb_put(nskb, ETH_HLEN), &s->eh, ETH_HLEN); in bnep_rx_frame()
381 memcpy(__skb_put(nskb, ETH_ALEN), s->eh.h_dest, ETH_ALEN); in bnep_rx_frame()
382 memcpy(__skb_put(nskb, ETH_ALEN), skb_mac_header(skb), ETH_ALEN); in bnep_rx_frame()
383 put_unaligned(s->eh.h_proto, (__be16 *) __skb_put(nskb, 2)); in bnep_rx_frame()
387 memcpy(__skb_put(nskb, ETH_ALEN), skb_mac_header(skb), in bnep_rx_frame()
389 memcpy(__skb_put(nskb, ETH_ALEN + 2), s->eh.h_source, in bnep_rx_frame()
394 memcpy(__skb_put(nskb, ETH_ALEN * 2), skb_mac_header(skb), in bnep_rx_frame()
396 put_unaligned(s->eh.h_proto, (__be16 *) __skb_put(nskb, 2)); in bnep_rx_frame()
400 skb_copy_from_linear_data(skb, __skb_put(nskb, skb->len), skb->len); in bnep_rx_frame()
/linux-4.4.14/net/802/
Dgarp.c224 gp = (struct garp_pdu_hdr *)__skb_put(skb, sizeof(*gp)); in garp_pdu_init()
235 *(u8 *)__skb_put(app->pdu, sizeof(u8)) = GARP_END_MARK; in garp_pdu_append_end_mark()
271 gm = (struct garp_msg_hdr *)__skb_put(app->pdu, sizeof(*gm)); in garp_pdu_append_msg()
302 ga = (struct garp_attr_hdr *)__skb_put(app->pdu, len); in garp_pdu_append_attr()
Dmrp.c314 ph = (struct mrp_pdu_hdr *)__skb_put(skb, sizeof(*ph)); in mrp_pdu_init()
327 endmark = (__be16 *)__skb_put(app->pdu, sizeof(*endmark)); in mrp_pdu_append_end_mark()
371 mh = (struct mrp_msg_hdr *)__skb_put(app->pdu, sizeof(*mh)); in mrp_pdu_append_msg_hdr()
385 vah = (struct mrp_vecattr_hdr *)__skb_put(app->pdu, in mrp_pdu_append_vecattr_hdr()
438 vaevents = (u8 *)__skb_put(app->pdu, sizeof(u8)); in mrp_pdu_append_vecattr_event()
/linux-4.4.14/drivers/net/usb/
Dint51x1.c113 memset(__skb_put(skb, need_tail), 0, need_tail); in int51x1_tx_fixup()
Ddm9601.c509 __skb_put(skb, pad); in dm9601_tx_fixup()
Dsierra_net.c882 __skb_put(skb, 1); in sierra_net_tx_fixup()
Dusbnet.c1360 __skb_put(skb, 1); in usbnet_start_xmit()
/linux-4.4.14/drivers/isdn/gigaset/
Dasyncdata.c267 *__skb_put(skb, 1) = c; in hdlc_loop()
318 *__skb_put(skb, 1) = bitrev8(c); in iraw_loop()
Dcapi.c339 msg = __skb_put(cskb, CAPI_DATA_B3_CONF_LEN); in send_data_b3_conf()
651 __skb_put(skb, msgsize))) { in gigaset_isdn_icall()
703 __skb_put(skb, CAPI_DISCONNECT_IND_LEN))) { in send_disconnect_ind()
738 __skb_put(skb, CAPI_DISCONNECT_B3_IND_BASELEN))) { in send_disconnect_b3_ind()
807 if (capi_cmsg2message(&iif->hcmsg, __skb_put(skb, msgsize))) { in gigaset_isdn_connD()
911 if (capi_cmsg2message(&iif->hcmsg, __skb_put(skb, msgsize))) { in gigaset_isdn_connB()
1269 if (capi_cmsg2message(cmsg, __skb_put(cskb, msgsize))) { in do_facility_req()
1984 __skb_put(b3skb, CAPI_DISCONNECT_B3_IND_BASELEN))) { in do_disconnect_req()
Disocdata.c514 *__skb_put(bcs->rx_skb, 1) = c; in hdlc_putbyte()
/linux-4.4.14/net/bridge/
Dbr_stp_bpdu.c53 memcpy(__skb_put(skb, length), data, length); in br_send_bpdu()
/linux-4.4.14/net/xfrm/
Dxfrm_ipcomp.c66 __skb_put(skb, len); in ipcomp_decompress()
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb3/
Dcxgb3_offload.c555 req = (struct cpl_tid_release *)__skb_put(skb, sizeof(*req)); in mk_tid_release()
839 __skb_put(skb, len); in cxgb3_get_cpl_reply_skb()
876 __skb_put(reply_skb, sizeof(struct cpl_abort_rpl)); in do_abort_req_rss()
Dl2t.c99 req = (struct cpl_l2t_write_req *)__skb_put(skb, sizeof(*req)); in setup_l2e_send_pending()
Dsge.c791 __skb_put(skb, len); in get_packet()
851 __skb_put(newskb, len); in get_packet_pg()
890 __skb_put(newskb, SGE_RX_PULL_LEN); in get_packet_pg()
926 __skb_put(skb, IMMED_PKT_SIZE); in get_imm_packet()
2285 memcpy(__skb_put(skb, AN_PKT_SIZE), r, AN_PKT_SIZE); in process_responses()
Dcxgb3_main.c474 req = (struct cpl_smt_write_req *)__skb_put(skb, sizeof(*req)); in init_tp_parity()
498 req = (struct cpl_l2t_write_req *)__skb_put(skb, sizeof(*req)); in init_tp_parity()
521 req = (struct cpl_rte_write_req *)__skb_put(skb, sizeof(*req)); in init_tp_parity()
541 greq = (struct cpl_set_tcb_field *)__skb_put(skb, sizeof(*greq)); in init_tp_parity()
909 req = (struct cpl_smt_write_req *)__skb_put(skb, sizeof(*req)); in write_smt_entry()
/linux-4.4.14/net/phonet/
Daf_phonet.c228 __skb_put(skb, len); in pn_raw_send()
Dpep.c90 __skb_put(skb, len); in pep_alloc_skb()
/linux-4.4.14/drivers/infiniband/hw/cxgb4/
Dcq.c51 res_wr = (struct fw_ri_res_wr *)__skb_put(skb, wr_len); in destroy_cq()
121 res_wr = (struct fw_ri_res_wr *)__skb_put(skb, wr_len); in create_cq()
Dqp.c296 res_wr = (struct fw_ri_res_wr *)__skb_put(skb, wr_len); in create_qp()
1096 wqe = (struct fw_ri_wr *)__skb_put(skb, sizeof(*wqe)); in post_terminate()
1217 wqe = (struct fw_ri_wr *)__skb_put(skb, sizeof(*wqe)); in rdma_fini()
1286 wqe = (struct fw_ri_wr *)__skb_put(skb, sizeof(*wqe)); in rdma_init()
Dmem.c81 req = (struct ulp_mem_io *)__skb_put(skb, wr_len); in _c4iw_write_mem_dma_aligned()
140 req = (struct ulp_mem_io *)__skb_put(skb, wr_len); in _c4iw_write_mem_inline()
Ddevice.c1077 __skb_put(skb, gl->tot_len + sizeof(struct cpl_pass_accept_req) + in copy_gl_to_skb_pkt()
1137 __skb_put(skb, len); in c4iw_uld_rx_handler()
Dcm.c490 flowc = (struct fw_flowc_wr *)__skb_put(skb, flowclen); in send_flowc()
1825 req = (struct fw_ofld_connection_wr *)__skb_put(skb, sizeof(*req)); in send_fw_act_open_req()
3724 req = (struct fw_ofld_connection_wr *)__skb_put(req_skb, sizeof(*req)); in send_fw_pass_open_req()
/linux-4.4.14/drivers/usb/atm/
Dusbatm.c348 __skb_put(sarb, ATM_CELL_PAYLOAD); in usbatm_extract_one_cell()
408 __skb_put(skb, length); in usbatm_extract_one_cell()
/linux-4.4.14/drivers/scsi/cxgbi/
Dlibcxgbi.h425 __skb_put(skb, wrlen); in alloc_wr()
/linux-4.4.14/drivers/staging/octeon/
Dethernet-tx.c253 memset(__skb_put(skb, add_bytes), 0, in cvm_oct_xmit()
/linux-4.4.14/drivers/net/ethernet/intel/fm10k/
Dfm10k_main.c285 memcpy(__skb_put(skb, size), va, ALIGN(size, sizeof(long))); in fm10k_add_rx_frag()
302 memcpy(__skb_put(skb, pull_len), va, ALIGN(pull_len, sizeof(long))); in fm10k_add_rx_frag()
Dfm10k_netdev.c660 __skb_put(skb, pad_len); in fm10k_xmit_frame()
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb4/
Dl2t.c151 req = (struct cpl_l2t_write_req *)__skb_put(skb, sizeof(*req)); in write_l2e()
Dcxgb4_main.c1200 fwr = (struct fw_filter_wr *)__skb_put(skb, sizeof(*fwr)); in set_filter_wr()
1301 fwr = (struct fw_filter_wr *)__skb_put(skb, len); in del_filter_wr()
1602 req = (struct cpl_tid_release *)__skb_put(skb, sizeof(*req)); in mk_tid_release()
1766 req = (struct cpl_pass_open_req *)__skb_put(skb, sizeof(*req)); in cxgb4_create_server()
1807 req = (struct cpl_pass_open_req6 *)__skb_put(skb, sizeof(*req)); in cxgb4_create_server6()
1839 req = (struct cpl_close_listsvr_req *)__skb_put(skb, sizeof(*req)); in cxgb4_remove_server()
Dsge.c1762 __skb_put(skb, gl->tot_len); in cxgb4_pktgl_to_skb()
1768 __skb_put(skb, pull_len); in cxgb4_pktgl_to_skb()
/linux-4.4.14/drivers/net/ethernet/hisilicon/hns/
Dhns_enet.c362 memcpy(__skb_put(skb, length), va, ALIGN(length, sizeof(long))); in hns_nic_poll_rx_skb()
380 memcpy(__skb_put(skb, pull_len), va, in hns_nic_poll_rx_skb()
/linux-4.4.14/drivers/net/ethernet/intel/i40evf/
Di40e_txrx.c1020 memcpy(__skb_put(skb, len), rx_bi->hdr_buf, len); in i40e_clean_rx_irq_ps()
1026 memcpy(__skb_put(skb, len), in i40e_clean_rx_irq_ps()
/linux-4.4.14/drivers/net/ethernet/sfc/
Drx.c495 __skb_put(skb, hdr_len); in efx_rx_mk_skb()
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb4vf/
Dsge.c1524 __skb_put(skb, gl->tot_len); in t4vf_pktgl_to_skb()
1530 __skb_put(skb, pull_len); in t4vf_pktgl_to_skb()
/linux-4.4.14/include/linux/
Dskbuff.h1805 static inline unsigned char *__skb_put(struct sk_buff *skb, unsigned int len) in __skb_put() function
2649 __skb_put(skb, len); in skb_put_padto()
/linux-4.4.14/drivers/net/ethernet/intel/i40e/
Di40e_txrx.c1555 memcpy(__skb_put(skb, len), rx_bi->hdr_buf, len); in i40e_clean_rx_irq_ps()
1561 memcpy(__skb_put(skb, len), in i40e_clean_rx_irq_ps()
/linux-4.4.14/drivers/infiniband/hw/cxgb3/
Dcxio_hal.c841 wqe = (struct t3_rdma_init_wr *) __skb_put(skb, sizeof(*wqe)); in cxio_rdma_init()
/linux-4.4.14/drivers/net/ethernet/intel/ixgbevf/
Dixgbevf_main.c788 memcpy(__skb_put(skb, size), va, ALIGN(size, sizeof(long))); in ixgbevf_add_rx_frag()
805 memcpy(__skb_put(skb, pull_len), va, ALIGN(pull_len, sizeof(long))); in ixgbevf_add_rx_frag()
/linux-4.4.14/drivers/net/xen-netback/
Dnetback.c1442 __skb_put(skb, data_len); in xenvif_tx_build_gops()
/linux-4.4.14/drivers/net/ethernet/ti/
Dnetcp_core.c662 __skb_put(skb, buf_len); in netcp_process_one_rx_packet()
/linux-4.4.14/net/openvswitch/
Ddatapath.c572 nla_memcpy(__skb_put(packet, len), a[OVS_PACKET_ATTR_PACKET], len); in ovs_packet_cmd_execute()
/linux-4.4.14/net/bluetooth/rfcomm/
Dcore.c870 cmd = (void *) __skb_put(skb, sizeof(*cmd)); in rfcomm_queue_disc()
/linux-4.4.14/net/netlink/
Daf_netlink.c784 __skb_put(skb, nm_len); in netlink_mmap_sendmsg()
/linux-4.4.14/drivers/net/ethernet/intel/igb/
Digb_main.c6670 memcpy(__skb_put(skb, size), va, ALIGN(size, sizeof(long))); in igb_add_rx_frag()
6687 memcpy(__skb_put(skb, pull_len), va, ALIGN(pull_len, sizeof(long))); in igb_add_rx_frag()
/linux-4.4.14/net/core/
Dskbuff.c3100 __skb_put(nskb, doffset); in skb_segment()
/linux-4.4.14/drivers/net/wireless/brcm80211/brcmfmac/
Dsdio.c2202 __skb_put(pkt, tail_pad); in brcmf_sdio_txpkt_prep_sg()
/linux-4.4.14/lib/
Dtest_bpf.c5137 memcpy(__skb_put(skb, size), buf, size); in populate_skb()
/linux-4.4.14/drivers/net/ethernet/intel/ixgbe/
Dixgbe_main.c1908 memcpy(__skb_put(skb, size), va, ALIGN(size, sizeof(long))); in ixgbe_add_rx_frag()