Home
last modified time | relevance | path

Searched refs:skb_set_network_header (Results 1 – 25 of 40) sorted by relevance

12

/linux/net/xfrm/
H A Dxfrm_output.c72 skb_set_network_header(skb, -x->props.header_len); in xfrm4_transport_output()
178 skb_set_network_header(skb, -x->props.header_len); in xfrm6_transport_output()
208 skb_set_network_header(skb, -x->props.header_len); in xfrm6_ro_output()
235 skb_set_network_header(skb, -x->props.header_len - hdrlen + in xfrm4_beet_encap_add()
283 skb_set_network_header(skb, -x->props.header_len); in xfrm4_tunnel_encap_add()
328 skb_set_network_header(skb, -x->props.header_len); in xfrm6_tunnel_encap_add()
365 skb_set_network_header(skb, -x->props.header_len - hdr_len); in xfrm6_beet_encap_add()
/linux/net/ipv4/
H A Dgre_offload.c41 skb_set_network_header(skb, skb_inner_network_offset(skb)); in gre_gso_segment()
85 skb_set_network_header(skb, mac_len); in gre_gso_segment()
H A Dicmp.c1228 skb_set_network_header(skb, sizeof(*icmph)); in icmp_rcv()
1236 skb_set_network_header(skb, nh); in icmp_rcv()
H A Dip_tunnel.c414 skb_set_network_header(skb, (tunnel->dev->type == ARPHRD_ETHER) ? ETH_HLEN : 0); in ip_tunnel_rcv()
H A Dip_output.c1152 skb_set_network_header(skb, exthdrlen); in __ip_append_data()
/linux/lib/tests/
H A Dblackhole_dev_kunit.c53 skb_set_network_header(skb, 0); in test_blackholedev()
/linux/net/mpls/
H A Dmpls_gso.c69 skb_set_network_header(skb, mac_len); in mpls_gso_segment()
/linux/net/nsh/
H A Dnsh.c121 skb_set_network_header(skb, outer_hlen); in nsh_gso_segment()
/linux/drivers/net/
H A Dtap.c637 skb_set_network_header(skb, ETH_HLEN); in tap_get_user()
664 skb_set_network_header(skb, depth); in tap_get_user()
1071 skb_set_network_header(skb, ETH_HLEN); in tap_get_user_xdp()
1084 skb_set_network_header(skb, depth); in tap_get_user_xdp()
/linux/drivers/net/netdevsim/
H A Dpsample.c58 skb_set_network_header(skb, skb->len); in nsim_dev_psample_skb_build()
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_selftest.c102 skb_set_network_header(skb, skb->len); in mlx5e_test_get_udp_skb()
/linux/net/bridge/
H A Dbr_forward.c48 skb_set_network_header(skb, depth); in br_dev_queue_push_xmit()
/linux/net/core/
H A Dselftests.c85 skb_set_network_header(skb, skb->len); in net_test_get_skb()
H A Dgro.c488 skb_set_network_header(skb, skb_gro_offset(skb)); in dev_gro_receive()
H A Dskbuff.c6327 skb_set_network_header(skb, ETH_HLEN); in __skb_vlan_pop()
6519 skb_set_network_header(skb, mac_len); in skb_mpls_push()
6564 skb_set_network_header(skb, mac_len); in skb_mpls_pop()
/linux/net/batman-adv/
H A Dtvlv.c412 skb_set_network_header(skb, tvlv_offset); in batadv_tvlv_call_handler()
H A Ddistributed-arp-table.c1632 skb_set_network_header(skb, ETH_HLEN); in batadv_dat_put_dhcp()
1751 skb_set_network_header(skb, hdr_size + ETH_HLEN); in batadv_dat_snoop_incoming_dhcp_ack()
/linux/include/net/
H A Dip_tunnels.h503 skb_set_network_header(skb, maclen); in skb_vlan_inet_prepare()
/linux/drivers/net/ppp/
H A Dpptp.c340 skb_set_network_header(skb, skb->head-skb->data); in pptp_rcv_core()
/linux/net/hsr/
H A Dhsr_device.c323 skb_set_network_header(skb, ETH_HLEN + HSR_HLEN); in send_hsr_supervision_frame()
/linux/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_fcoe.c507 skb_set_network_header(skb, skb->mac_len); in ixgbe_fso()
/linux/drivers/net/wireless/ti/wlcore/
H A Dtx.c269 skb_set_network_header(skb, skb_network_offset(skb) + extra); in wl1271_tx_fill_hdr()
/linux/net/atm/
H A Dmpc.c590 skb_set_network_header(skb, ETH_HLEN); in mpc_send_packet()
/linux/net/openvswitch/
H A Dactions.c717 skb_set_network_header(skb, data->network_offset); in ovs_vport_output()
/linux/drivers/net/dsa/qca/
H A Dqca8k-8xxx.c262 skb_set_network_header(skb, skb->len); in qca8k_alloc_mdio_header()

12