Home
last modified time | relevance | path

Searched refs:skb_transport_header (Results 1 – 25 of 113) sorted by relevance

12345

/Linux-v5.15/include/linux/
Ddccp.h68 return (struct dccp_hdr *)skb_transport_header(skb); in dccp_hdr()
75 return memset(skb_transport_header(skb), 0, headlen); in dccp_zeroed_hdr()
108 return (struct dccp_hdr_request *)(skb_transport_header(skb) + in dccp_hdr_request()
114 return (struct dccp_hdr_ack_bits *)(skb_transport_header(skb) + in dccp_hdr_ack_bits()
126 return (struct dccp_hdr_response *)(skb_transport_header(skb) + in dccp_hdr_response()
132 return (struct dccp_hdr_reset *)(skb_transport_header(skb) + in dccp_hdr_reset()
Digmp.h22 return (struct igmphdr *)skb_transport_header(skb); in igmp_hdr()
28 return (struct igmpv3_report *)skb_transport_header(skb); in igmpv3_report_hdr()
34 return (struct igmpv3_query *)skb_transport_header(skb); in igmpv3_query_hdr()
Datalk.h65 return (struct ddpehdr *)skb_transport_header(skb); in ddp_hdr()
93 return (struct elapaarp *)skb_transport_header(skb); in aarp_hdr()
Dicmp.h22 return (struct icmphdr *)skb_transport_header(skb); in icmp_hdr()
Dip.h31 return (struct iphdr *)skb_transport_header(skb); in ipip_hdr()
Dpim.h78 return (struct pimhdr *)skb_transport_header(skb); in pim_hdr()
Dicmpv6.h11 return (struct icmp6hdr *)skb_transport_header(skb); in icmp6_hdr()
Dudp.h23 return (struct udphdr *)skb_transport_header(skb); in udp_hdr()
/Linux-v5.15/net/ipv6/
Dexthdrs.c116 int len = (skb_transport_header(skb)[1] + 1) << 3; in ip6_parse_tlv()
302 ((skb_transport_header(skb)[1] + 1) << 3)))) { in ipv6_destopt_rcv()
310 extlen = (skb_transport_header(skb)[1] + 1) << 3; in ipv6_destopt_rcv()
344 hdr = (struct ipv6_sr_hdr *)skb_transport_header(skb); in seg6_update_csum()
372 hdr = (struct ipv6_sr_hdr *)skb_transport_header(skb); in ipv6_srh_rcv()
404 skb_postpull_rcsum(skb, skb_transport_header(skb), in ipv6_srh_rcv()
443 hdr = (struct ipv6_sr_hdr *)skb_transport_header(skb); in ipv6_srh_rcv()
509 hdr = (struct ipv6_rpl_sr_hdr *)skb_transport_header(skb); in ipv6_rpl_srh_rcv()
522 skb_postpull_rcsum(skb, skb_transport_header(skb), in ipv6_rpl_srh_rcv()
583 hdr = (struct ipv6_rpl_sr_hdr *)skb_transport_header(skb); in ipv6_rpl_srh_rcv()
[all …]
Dmcast_snoop.c94 mld = (struct mld_msg *)skb_transport_header(skb); in ipv6_mc_check_mld_query()
114 mld = (struct mld_msg *)skb_transport_header(skb); in ipv6_mc_check_mld_msg()
Dndisc.c772 struct nd_msg *msg = (struct nd_msg *)skb_transport_header(skb); in ndisc_recv_ns()
776 u32 ndoptlen = skb_tail_pointer(skb) - (skb_transport_header(skb) + in ndisc_recv_ns()
956 struct nd_msg *msg = (struct nd_msg *)skb_transport_header(skb); in ndisc_recv_na()
960 u32 ndoptlen = skb_tail_pointer(skb) - (skb_transport_header(skb) + in ndisc_recv_na()
1070 struct rs_msg *rs_msg = (struct rs_msg *)skb_transport_header(skb); in ndisc_recv_rs()
1126 struct icmp6hdr *icmp6h = (struct icmp6hdr *)skb_transport_header(ra); in ndisc_ra_useropt()
1172 struct ra_msg *ra_msg = (struct ra_msg *)skb_transport_header(skb); in ndisc_router_discovery()
1187 optlen = (skb_tail_pointer(skb) - skb_transport_header(skb)) - in ndisc_router_discovery()
1536 struct rd_msg *msg = (struct rd_msg *)skb_transport_header(skb); in ndisc_redirect_rcv()
1537 u32 ndoptlen = skb_tail_pointer(skb) - (skb_transport_header(skb) + in ndisc_redirect_rcv()
[all …]
Dioam6_iptunnel.c189 memcpy(skb_transport_header(skb), (u8 *)tuninfo, hdrlen); in ioam6_do_inline()
194 trace = (struct ioam6_trace_hdr *)(skb_transport_header(skb) in ioam6_do_inline()
Dmip6.c152 dstopt = (struct ipv6_destopt_hdr *)skb_transport_header(skb); in mip6_destopt_output()
319 rt2 = (struct rt2_hdr *)skb_transport_header(skb); in mip6_rthdr_output()
Dip6_checksum.c132 skb->csum_start = skb_transport_header(skb) - skb->head; in udp6_set_csum()
/Linux-v5.15/net/xfrm/
Dxfrm_input.c158 *spi = htonl(ntohs(*(__be16 *)(skb_transport_header(skb) + 2))); in xfrm_parse_spi()
168 *spi = *(__be32 *)(skb_transport_header(skb) + offset); in xfrm_parse_spi()
169 *seq = *(__be32 *)(skb_transport_header(skb) + offset_seq); in xfrm_parse_spi()
402 int ihl = skb->data - skb_transport_header(skb); in xfrm4_transport_input()
405 memmove(skb_transport_header(skb), in xfrm4_transport_input()
417 int ihl = skb->data - skb_transport_header(skb); in xfrm6_transport_input()
420 memmove(skb_transport_header(skb), in xfrm6_transport_input()
/Linux-v5.15/net/ipv4/
Dgre_offload.c17 int tnl_hlen = skb_inner_mac_header(skb) - skb_transport_header(skb); in gre_gso_segment()
89 greh = (struct gre_base_hdr *)skb_transport_header(skb); in gre_gso_segment()
112 skb->csum_start = skb_transport_header(skb) - skb->head; in gre_gso_segment()
/Linux-v5.15/include/net/
Dah.h20 return (struct ip_auth_hdr *)skb_transport_header(skb); in ip_auth_hdr()
Dipcomp.h27 return (struct ip_comp_hdr *)skb_transport_header(skb); in ip_comp_hdr()
Desp.h11 return (struct ip_esp_hdr *)skb_transport_header(skb); in ip_esp_hdr()
Dip6_checksum.h70 skb->csum_start = skb_transport_header(skb) - skb->head; in __tcp_v6_send_check()
Dgre.h142 skb->csum_start = skb_transport_header(skb) - skb->head; in gre_build_header()
/Linux-v5.15/include/net/phonet/
Dpep.h61 return (struct pnpipehdr *)skb_transport_header(skb); in pnp_hdr()
Dphonet.h60 return (struct phonetmsg *)skb_transport_header(skb); in pn_msg()
/Linux-v5.15/drivers/net/ethernet/huawei/hinic/
Dhinic_tx.c296 l4.hdr = skb_transport_header(skb); in offload_tso()
326 l4.hdr = skb_transport_header(skb); in offload_tso()
385 l4.hdr = skb_transport_header(skb); in offload_csum()
411 l4.hdr = skb_transport_header(skb); in offload_csum()
423 l4.hdr = skb_transport_header(skb); in offload_csum()
/Linux-v5.15/net/802/
Dpsnap.c58 proto = find_snap_client(skb_transport_header(skb)); in snap_rcv()

12345