Searched refs:skb_transport_header (Results 1 – 25 of 113) sorted by relevance
12345
/Linux-v5.15/include/linux/ |
D | dccp.h | 68 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()
|
D | igmp.h | 22 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()
|
D | atalk.h | 65 return (struct ddpehdr *)skb_transport_header(skb); in ddp_hdr() 93 return (struct elapaarp *)skb_transport_header(skb); in aarp_hdr()
|
D | icmp.h | 22 return (struct icmphdr *)skb_transport_header(skb); in icmp_hdr()
|
D | ip.h | 31 return (struct iphdr *)skb_transport_header(skb); in ipip_hdr()
|
D | pim.h | 78 return (struct pimhdr *)skb_transport_header(skb); in pim_hdr()
|
D | icmpv6.h | 11 return (struct icmp6hdr *)skb_transport_header(skb); in icmp6_hdr()
|
D | udp.h | 23 return (struct udphdr *)skb_transport_header(skb); in udp_hdr()
|
/Linux-v5.15/net/ipv6/ |
D | exthdrs.c | 116 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 …]
|
D | mcast_snoop.c | 94 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()
|
D | ndisc.c | 772 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 …]
|
D | ioam6_iptunnel.c | 189 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()
|
D | mip6.c | 152 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()
|
D | ip6_checksum.c | 132 skb->csum_start = skb_transport_header(skb) - skb->head; in udp6_set_csum()
|
/Linux-v5.15/net/xfrm/ |
D | xfrm_input.c | 158 *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/ |
D | gre_offload.c | 17 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/ |
D | ah.h | 20 return (struct ip_auth_hdr *)skb_transport_header(skb); in ip_auth_hdr()
|
D | ipcomp.h | 27 return (struct ip_comp_hdr *)skb_transport_header(skb); in ip_comp_hdr()
|
D | esp.h | 11 return (struct ip_esp_hdr *)skb_transport_header(skb); in ip_esp_hdr()
|
D | ip6_checksum.h | 70 skb->csum_start = skb_transport_header(skb) - skb->head; in __tcp_v6_send_check()
|
D | gre.h | 142 skb->csum_start = skb_transport_header(skb) - skb->head; in gre_build_header()
|
/Linux-v5.15/include/net/phonet/ |
D | pep.h | 61 return (struct pnpipehdr *)skb_transport_header(skb); in pnp_hdr()
|
D | phonet.h | 60 return (struct phonetmsg *)skb_transport_header(skb); in pn_msg()
|
/Linux-v5.15/drivers/net/ethernet/huawei/hinic/ |
D | hinic_tx.c | 296 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/ |
D | psnap.c | 58 proto = find_snap_client(skb_transport_header(skb)); in snap_rcv()
|
12345