Home
last modified time | relevance | path

Searched refs:skb_set_network_header (Results 1 – 25 of 53) 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()
763 skb_set_network_header(skb, skb_gro_receive_network_offset(skb)); in udp_gro_receive_segment()
H A Dicmp.c1223 skb_set_network_header(skb, sizeof(*icmph)); in icmp_rcv()
1231 skb_set_network_header(skb, nh); in icmp_rcv()
H A Dtcp_offload.c362 skb_set_network_header(skb, skb_gro_receive_network_offset(skb)); in tcp_gro_receive()
/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/net/hsr/
H A Dhsr_slave.c72 skb_set_network_header(skb, ETH_HLEN + HSR_HLEN); in hsr_handle_frame()
/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/core/
H A Dselftests.c85 skb_set_network_header(skb, skb->len); in net_test_get_skb()
H A Dgro.c486 skb_set_network_header(skb, skb_gro_offset(skb)); in dev_gro_receive()
/linux/net/ipv6/
H A Dicmp.c919 skb_set_network_header(skb, sizeof(*hdr)); in icmpv6_rcv()
927 skb_set_network_header(skb, nh); in icmpv6_rcv()
/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()
H A Dsend.c95 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/include/net/
H A Dip_tunnels.h501 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/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_fcoe.c507 skb_set_network_header(skb, skb->mac_len); in ixgbe_fso()
/linux/drivers/net/ethernet/chelsio/inline_crypto/chtls/
H A Dchtls_cm.c1355 skb_set_network_header(skb, (void *)iph - (void *)req); in chtls_pass_accept_request()
1359 skb_set_network_header(skb, (void *)ip6h - (void *)req); in chtls_pass_accept_request()
/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()

123