Home
last modified time | relevance | path

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

123

/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 Dudp_offload.c209 skb_set_network_header(skb, skb_inner_network_offset(skb)); in __skb_udp_tunnel_segment()
272 skb_set_network_header(skb, mac_len); in __skb_udp_tunnel_segment()
766 skb_set_network_header(skb, skb_gro_receive_network_offset(skb)); in udp_gro_receive_segment()
H A Dtcp_offload.c335 skb_set_network_header(skb, skb_gro_receive_network_offset(skb)); in tcp_gro_receive()
H A Dicmp.c1461 skb_set_network_header(skb, sizeof(*icmph)); in icmp_rcv()
1469 skb_set_network_header(skb, nh); in icmp_rcv()
/linux/lib/tests/
H A Dblackhole_dev_kunit.c53 skb_set_network_header(skb, 0); in test_blackholedev()
/linux/net/ax25/
H A Dax25_out.c169 skb_set_network_header(skbn, in ax25_output()
183 skb_set_network_header(skbn, in ax25_output()
/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/net/hsr/
H A Dhsr_slave.c72 skb_set_network_header(skb, ETH_HLEN + HSR_HLEN); in hsr_handle_frame()
H A Dhsr_device.c323 skb_set_network_header(skb, ETH_HLEN + HSR_HLEN); in send_hsr_supervision_frame()
/linux/drivers/net/netdevsim/
H A Dpsample.c58 skb_set_network_header(skb, skb->len); in nsim_dev_psample_skb_build()
/linux/net/bridge/
H A Dbr_forward.c48 skb_set_network_header(skb, depth); in br_dev_queue_push_xmit()
H A Dbr_arp_nd_proxy.c310 skb_set_network_header(reply, 0); in br_nd_send()
/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/core/
H A Dselftests.c49 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()
/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.c1631 skb_set_network_header(skb, ETH_HLEN); in batadv_dat_put_dhcp()
1750 skb_set_network_header(skb, hdr_size + ETH_HLEN); in batadv_dat_snoop_incoming_dhcp_ack()
H A Dsend.c91 skb_set_network_header(skb, ETH_HLEN); in batadv_send_skb_packet()
H A Dmesh-interface.c225 skb_set_network_header(skb, network_offset); in batadv_interface_tx()
/linux/net/ipv6/
H A Dicmp.c1125 skb_set_network_header(skb, sizeof(*hdr)); in icmpv6_rcv()
1133 skb_set_network_header(skb, nh); in icmpv6_rcv()
/linux/drivers/net/ppp/
H A Dpptp.c340 skb_set_network_header(skb, skb->head-skb->data); in pptp_rcv_core()
/linux/include/net/
H A Dip_tunnels.h521 skb_set_network_header(skb, maclen); in skb_vlan_inet_prepare()

123