Home
last modified time | relevance | path

Searched refs:skb_transport_offset (Results 1 – 25 of 106) sorted by relevance

12345

/linux-6.1.9/net/ipv6/
Dmcast_snoop.c66 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()
Dexthdrs.c129 if (skb_transport_offset(skb) + len > skb_headlen(skb)) in ip6_parse_tlv()
306 if (!pskb_may_pull(skb, skb_transport_offset(skb) + 8) || in ipv6_destopt_rcv()
307 !pskb_may_pull(skb, (skb_transport_offset(skb) + in ipv6_destopt_rcv()
695 if (!pskb_may_pull(skb, skb_transport_offset(skb) + 8) || in ipv6_rthdr_rcv()
696 !pskb_may_pull(skb, (skb_transport_offset(skb) + in ipv6_rthdr_rcv()
Dfou6.c92 int transport_offset = skb_transport_offset(skb); in gue6_err()
Dreassembly.c340 if (!pskb_may_pull(skb, (skb_transport_offset(skb) + in ipv6_frag_rcv()
367 if (ipv6frag_thdr_truncated(skb, skb_transport_offset(skb), &nexthdr)) { in ipv6_frag_rcv()
Desp6.c271 unsigned int offset = skb_transport_offset(skb); in esp_output_encap_csum()
337 esp_restore_header(skb, skb_transport_offset(skb) + extra->esphoff - in esp_output_restore_header()
389 len = skb->len + esp->tailen - skb_transport_offset(skb); in esp6_output_udp_encap()
420 len = skb->len + esp->tailen - skb_transport_offset(skb); in esp6_output_tcp_encap()
Dudp.c533 transport_offset = skb_transport_offset(skb); in __udp6_lib_err_encap()
794 __skb_pull(skb, skb_transport_offset(skb)); in udpv6_queue_rcv_skb()
1095 if (!pskb_may_pull(skb, skb_transport_offset(skb) + in udp_v6_early_demux()
1198 offset = skb_transport_offset(skb); in udp6_hwcsum_outgoing()
1227 int offset = skb_transport_offset(skb); in udp_v6_send_skb()
Draw.c101 hdr = skb_header_pointer(skb, skb_transport_offset(skb), in icmpv6_filter()
551 len = skb->len - skb_transport_offset(skb); in rawv6_push_pending_frames()
563 offset += skb_transport_offset(skb); in rawv6_push_pending_frames()
/linux-6.1.9/net/core/
Dtso.c19 int hdr_len = skb_transport_offset(skb) + tso->tlen; in tso_build_hdr()
34 hdr += skb_transport_offset(skb); in tso_build_hdr()
75 int hdr_len = skb_transport_offset(skb) + tlen; in tso_start()
/linux-6.1.9/include/net/
Dudplite.h70 const int off = skb_transport_offset(skb); in udplite_csum()
/linux-6.1.9/net/openvswitch/
Dflow.c212 int th_ofs = skb_transport_offset(skb); in tcphdr_ok()
228 return pskb_may_pull(skb, skb_transport_offset(skb) + in udphdr_ok()
234 return pskb_may_pull(skb, skb_transport_offset(skb) + in sctphdr_ok()
240 return pskb_may_pull(skb, skb_transport_offset(skb) + in icmphdr_ok()
433 return pskb_may_pull(skb, skb_transport_offset(skb) + in icmp6hdr_ok()
566 int icmp_len = skb->len - skb_transport_offset(skb); in parse_icmpv6()
Dactions.c347 int transport_len = skb->len - skb_transport_offset(skb); in update_ip_l4_checksum()
383 int transport_len = skb->len - skb_transport_offset(skb); in update_ipv6_checksum()
678 err = skb_ensure_writable(skb, skb_transport_offset(skb) + in set_udp()
721 err = skb_ensure_writable(skb, skb_transport_offset(skb) + in set_tcp()
746 unsigned int sctphoff = skb_transport_offset(skb); in set_sctp()
/linux-6.1.9/drivers/net/wireless/intel/iwlwifi/mei/
Dnet.c216 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()
/linux-6.1.9/net/sctp/
Doffload.c35 return sctp_compute_cksum(skb, skb_transport_offset(skb)); in sctp_gso_make_checksum()
Dinput.c110 skb_transport_offset(skb)) in sctp_rcv()
122 __skb_pull(skb, skb_transport_offset(skb)); in sctp_rcv()
523 chunkhdr = skb_header_pointer(skb, skb_transport_offset(skb) + in sctp_err_lookup()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
Dipsec_rxtx.c168 iv_offset = skb_transport_offset(skb) + sizeof(struct ip_esp_hdr); in mlx5e_ipsec_set_iv_esn()
180 iv_offset = skb_transport_offset(skb) + sizeof(struct ip_esp_hdr); in mlx5e_ipsec_set_iv()
/linux-6.1.9/drivers/net/ethernet/chelsio/inline_crypto/ch_ipsec/
Dchcr_ipsec.c623 (skb_transport_offset(skb) + in ch_ipsec_crypto_wreq()
633 aadstart = sa_entry->esn ? 1 : (skb_transport_offset(skb) + 1); in ch_ipsec_crypto_wreq()
635 (skb_transport_offset(skb) + in ch_ipsec_crypto_wreq()
637 ciphstart = skb_transport_offset(skb) + sizeof(struct ip_esp_hdr) + in ch_ipsec_crypto_wreq()
/linux-6.1.9/net/xfrm/
Dxfrm_output.c69 skb_set_inner_transport_header(skb, skb_transport_offset(skb)); in xfrm4_transport_output()
170 skb_set_inner_transport_header(skb, skb_transport_offset(skb)); in xfrm6_transport_output()
282 skb_set_inner_transport_header(skb, skb_transport_offset(skb)); in xfrm4_tunnel_encap_add()
327 skb_set_inner_transport_header(skb, skb_transport_offset(skb)); in xfrm6_tunnel_encap_add()
/linux-6.1.9/include/linux/
Digmp.h104 if (skb_transport_offset(skb) + ip_transport_len(skb) < len) in ip_mc_may_pull()
Dvirtio_net.h96 p_off = skb_transport_offset(skb) + thlen; in virtio_net_hdr_to_skb()
/linux-6.1.9/drivers/net/ethernet/sfc/
Def100_tx.c213 outer_l4_offset = skb_transport_offset(skb); in ef100_make_tso_desc()
221 tcp_offset = skb_transport_offset(skb); in ef100_make_tso_desc()
/linux-6.1.9/net/ipv6/netfilter/
Dip6t_NPT.c90 skb_transport_offset(skb) + sizeof(struct icmp6hdr), in icmpv6_bounced_ipv6hdr()
/linux-6.1.9/drivers/net/ethernet/intel/ixgbe/
Dixgbe_fcoe.c567 *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()
/linux-6.1.9/drivers/net/ethernet/fungible/funeth/
Dfuneth_tx.c192 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()
/linux-6.1.9/net/sched/
Dact_pedit.c310 *hoffset = skb_transport_offset(skb); in pedit_skb_hdr_offset()
332 skb_transport_offset(skb) : in tcf_pedit_act()
/linux-6.1.9/net/batman-adv/
Ddistributed-arp-table.c1494 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()

12345