/openbmc/linux/net/ipv6/ |
H A D | mcast_snoop.c | 66 unsigned int len = skb_transport_offset(skb); in ipv6_mc_check_mld_reportv2() 89 len = skb_transport_offset(skb) + sizeof(struct mld2_query); in ipv6_mc_check_mld_query() 108 unsigned int len = skb_transport_offset(skb) + sizeof(struct mld_msg); in ipv6_mc_check_mld_msg() 136 unsigned int len = skb_transport_offset(skb) + sizeof(struct icmp6hdr); in ipv6_mc_check_icmpv6()
|
H A D | exthdrs.c | 305 if (!pskb_may_pull(skb, skb_transport_offset(skb) + 8) || in ipv6_destopt_rcv() 306 !pskb_may_pull(skb, (skb_transport_offset(skb) + in ipv6_destopt_rcv() 662 if (!pskb_may_pull(skb, skb_transport_offset(skb) + 8) || in ipv6_rthdr_rcv() 663 !pskb_may_pull(skb, (skb_transport_offset(skb) + in ipv6_rthdr_rcv()
|
H A D | fou6.c | 92 int transport_offset = skb_transport_offset(skb); in gue6_err()
|
H A D | esp6.c | 270 unsigned int offset = skb_transport_offset(skb); in esp_output_encap_csum() 336 esp_restore_header(skb, skb_transport_offset(skb) + extra->esphoff - in esp_output_restore_header() 388 len = skb->len + esp->tailen - skb_transport_offset(skb); in esp6_output_udp_encap() 419 len = skb->len + esp->tailen - skb_transport_offset(skb); in esp6_output_tcp_encap()
|
H A D | udp.c | 529 transport_offset = skb_transport_offset(skb); in __udp6_lib_err_encap() 796 __skb_pull(skb, skb_transport_offset(skb)); in udpv6_queue_rcv_skb() 1100 if (!pskb_may_pull(skb, skb_transport_offset(skb) + in udp_v6_early_demux() 1203 offset = skb_transport_offset(skb); in udp6_hwcsum_outgoing() 1232 int offset = skb_transport_offset(skb); in udp_v6_send_skb()
|
H A D | raw.c | 101 hdr = skb_header_pointer(skb, skb_transport_offset(skb), in icmpv6_filter() 549 len = skb->len - skb_transport_offset(skb); in rawv6_push_pending_frames() 561 offset += skb_transport_offset(skb); in rawv6_push_pending_frames()
|
/openbmc/linux/net/core/ |
H A D | tso.c | 11 int hdr_len = skb_transport_offset(skb) + tso->tlen; in tso_build_hdr() 26 hdr += skb_transport_offset(skb); in tso_build_hdr() 67 int hdr_len = skb_transport_offset(skb) + tlen; in tso_start()
|
/openbmc/linux/include/linux/ |
H A D | virtio_net.h | 106 if (skb_transport_offset(skb) < nh_min_len) in virtio_net_hdr_to_skb() 109 nh_min_len = skb_transport_offset(skb); in virtio_net_hdr_to_skb()
|
H A D | igmp.h | 105 if (skb_transport_offset(skb) + ip_transport_len(skb) < len) in ip_mc_may_pull()
|
/openbmc/linux/include/net/ |
H A D | udplite.h | 69 const int off = skb_transport_offset(skb); in udplite_csum()
|
/openbmc/linux/net/openvswitch/ |
H A D | flow.c | 215 int th_ofs = skb_transport_offset(skb); in tcphdr_ok() 231 return pskb_may_pull(skb, skb_transport_offset(skb) + in udphdr_ok() 237 return pskb_may_pull(skb, skb_transport_offset(skb) + in sctphdr_ok() 243 return pskb_may_pull(skb, skb_transport_offset(skb) + in icmphdr_ok() 436 return pskb_may_pull(skb, skb_transport_offset(skb) + in icmp6hdr_ok() 568 int icmp_len = skb->len - skb_transport_offset(skb); in parse_icmpv6()
|
H A D | actions.c | 349 int transport_len = skb->len - skb_transport_offset(skb); in update_ip_l4_checksum() 385 int transport_len = skb->len - skb_transport_offset(skb); in update_ipv6_checksum() 680 err = skb_ensure_writable(skb, skb_transport_offset(skb) + in set_udp() 723 err = skb_ensure_writable(skb, skb_transport_offset(skb) + in set_tcp() 748 unsigned int sctphoff = skb_transport_offset(skb); in set_sctp()
|
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/mei/ |
H A D | net.c | 216 if (!pskb_may_pull(skb, skb_transport_offset(skb) + in iwl_mei_rx_filter_ipv4() 226 if (!pskb_may_pull(skb, skb_transport_offset(skb) + sizeof(*icmp))) in iwl_mei_rx_filter_ipv4()
|
/openbmc/linux/net/sctp/ |
H A D | offload.c | 36 return sctp_compute_cksum(skb, skb_transport_offset(skb)); in sctp_gso_make_checksum()
|
H A D | input.c | 113 skb_transport_offset(skb)) in sctp_rcv() 125 __skb_pull(skb, skb_transport_offset(skb)); in sctp_rcv() 510 chunkhdr = skb_header_pointer(skb, skb_transport_offset(skb) + in sctp_err_lookup()
|
/openbmc/linux/drivers/net/ethernet/chelsio/inline_crypto/ch_ipsec/ |
H A D | chcr_ipsec.c | 629 (skb_transport_offset(skb) + in ch_ipsec_crypto_wreq() 639 aadstart = sa_entry->esn ? 1 : (skb_transport_offset(skb) + 1); in ch_ipsec_crypto_wreq() 641 (skb_transport_offset(skb) + in ch_ipsec_crypto_wreq() 643 ciphstart = skb_transport_offset(skb) + sizeof(struct ip_esp_hdr) + in ch_ipsec_crypto_wreq()
|
/openbmc/linux/net/xfrm/ |
H A D | xfrm_output.c | 70 skb_set_inner_transport_header(skb, skb_transport_offset(skb)); in xfrm4_transport_output() 171 skb_set_inner_transport_header(skb, skb_transport_offset(skb)); in xfrm6_transport_output() 281 skb_set_inner_transport_header(skb, skb_transport_offset(skb)); in xfrm4_tunnel_encap_add() 326 skb_set_inner_transport_header(skb, skb_transport_offset(skb)); in xfrm6_tunnel_encap_add()
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en_accel/ |
H A D | ipsec_rxtx.c | 171 iv_offset = skb_transport_offset(skb) + sizeof(struct ip_esp_hdr); in mlx5e_ipsec_set_iv_esn() 183 iv_offset = skb_transport_offset(skb) + sizeof(struct ip_esp_hdr); in mlx5e_ipsec_set_iv()
|
/openbmc/linux/drivers/net/ethernet/sfc/ |
H A D | ef100_tx.c | 213 outer_l4_offset = skb_transport_offset(skb); in ef100_make_tso_desc() 221 tcp_offset = skb_transport_offset(skb); in ef100_make_tso_desc()
|
/openbmc/linux/net/ipv6/netfilter/ |
H A D | ip6t_NPT.c | 90 skb_transport_offset(skb) + sizeof(struct icmp6hdr), in icmpv6_bounced_ipv6hdr()
|
/openbmc/linux/drivers/net/ethernet/intel/ixgbe/ |
H A D | ixgbe_fcoe.c | 567 *hdr_len += skb_transport_offset(skb) + in ixgbe_fso() 585 vlan_macip_lens = skb_transport_offset(skb) + in ixgbe_fso() 587 vlan_macip_lens |= (skb_transport_offset(skb) - 4) in ixgbe_fso()
|
/openbmc/linux/drivers/net/ethernet/fungible/funeth/ |
H A D | funeth_tx.c | 192 ol4_ofst = skb_transport_offset(skb); in write_pkt_desc() 235 skb_transport_offset(skb), 0, 0); in write_pkt_desc() 252 skb_transport_offset(skb), 0, 0); in write_pkt_desc()
|
/openbmc/linux/net/batman-adv/ |
H A D | distributed-arp-table.c | 1494 offset = skb_transport_offset(skb) + sizeof(struct udphdr); in batadv_dat_check_dhcp() 1526 unsigned int offset = skb_transport_offset(skb) + sizeof(struct udphdr); in batadv_dat_get_dhcp_message_type() 1574 unsigned int offset = skb_transport_offset(skb) + sizeof(struct udphdr); in batadv_dat_dhcp_get_yiaddr() 1601 unsigned int offset = skb_transport_offset(skb) + sizeof(struct udphdr); in batadv_dat_get_dhcp_chaddr()
|
/openbmc/linux/drivers/net/ethernet/marvell/octeontx2/nic/ |
H A D | otx2_txrx.c | 689 ext->lso_sb = skb_transport_offset(skb) + in otx2_sqe_add_ext() 775 sqe_hdr->ol4ptr = skb_transport_offset(skb); in otx2_sqe_add_hdr() 1061 *offset = nix_offload_hlen + skb_transport_offset(skb) + in otx2_ptp_is_sync() 1112 udphoff = skb_transport_offset(skb); in otx2_set_txtstamp()
|
/openbmc/linux/net/ipv4/ |
H A D | esp4.c | 300 esp_restore_header(skb, skb_transport_offset(skb) + extra->esphoff - in esp_output_restore_header() 352 len = skb->len + esp->tailen - skb_transport_offset(skb); in esp_output_udp_encap() 383 len = skb->len + esp->tailen - skb_transport_offset(skb); in esp_output_tcp_encap()
|