Home
last modified time | relevance | path

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

12345

/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/net/ipv6/
Dexthdrs.c118 int len = (skb_transport_header(skb)[1] + 1) << 3; in ip6_parse_tlv()
290 ((skb_transport_header(skb)[1] + 1) << 3)))) { in ipv6_destopt_rcv()
298 extlen = (skb_transport_header(skb)[1] + 1) << 3; in ipv6_destopt_rcv()
333 hdr = (struct ipv6_sr_hdr *)skb_transport_header(skb); in seg6_update_csum()
361 hdr = (struct ipv6_sr_hdr *)skb_transport_header(skb); in ipv6_srh_rcv()
393 skb_postpull_rcsum(skb, skb_transport_header(skb), in ipv6_srh_rcv()
431 hdr = (struct ipv6_sr_hdr *)skb_transport_header(skb); in ipv6_srh_rcv()
497 hdr = (struct ipv6_rpl_sr_hdr *)skb_transport_header(skb); in ipv6_rpl_srh_rcv()
510 skb_postpull_rcsum(skb, skb_transport_header(skb), in ipv6_rpl_srh_rcv()
617 memcpy(skb_transport_header(skb), chdr, (chdr->hdrlen + 1) << 3); 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.c773 struct nd_msg *msg = (struct nd_msg *)skb_transport_header(skb); in ndisc_recv_ns()
777 u32 ndoptlen = skb_tail_pointer(skb) - (skb_transport_header(skb) + in ndisc_recv_ns()
957 struct nd_msg *msg = (struct nd_msg *)skb_transport_header(skb); in ndisc_recv_na()
961 u32 ndoptlen = skb_tail_pointer(skb) - (skb_transport_header(skb) + in ndisc_recv_na()
1071 struct rs_msg *rs_msg = (struct rs_msg *)skb_transport_header(skb); in ndisc_recv_rs()
1127 struct icmp6hdr *icmp6h = (struct icmp6hdr *)skb_transport_header(ra); in ndisc_ra_useropt()
1173 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()
1528 struct rd_msg *msg = (struct rd_msg *)skb_transport_header(skb); in ndisc_redirect_rcv()
1529 u32 ndoptlen = skb_tail_pointer(skb) - (skb_transport_header(skb) + in ndisc_redirect_rcv()
[all …]
/kernel/linux/linux-5.10/net/xfrm/
Dxfrm_input.c159 *spi = htonl(ntohs(*(__be16 *)(skb_transport_header(skb) + 2))); in xfrm_parse_spi()
169 *spi = *(__be32 *)(skb_transport_header(skb) + offset); in xfrm_parse_spi()
170 *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()
/kernel/linux/common_modules/newip/third_party/linux-5.10/include/linux/
Dnip_icmp.h22 return (struct nip_icmp_hdr *)skb_transport_header(skb); in nip_icmp_header()
/kernel/linux/linux-5.10/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()
/kernel/linux/common_modules/newip/third_party/linux-5.10/net/newip/
Dnndisc.c232 *(__u16 *)(skb_transport_header(skb) + NNDISC_CHECKSUM_BIAS) = in nip_insert_nndisc_send_checksum()
246 return nip_check_sum_build(skb_transport_header(skb), in nip_get_nndisc_send_checksum()
254 unsigned short check_len = (unsigned short)(transport_tail - (skb_transport_header(skb))); in nip_get_nndisc_rcv_checksum()
261 return nip_check_sum_parse(skb_transport_header(skb), check_len, &nph) in nip_get_nndisc_rcv_checksum()
/kernel/linux/linux-5.10/net/ipv4/
Dgre_offload.c17 int tnl_hlen = skb_inner_mac_header(skb) - skb_transport_header(skb); in gre_gso_segment()
83 greh = (struct gre_base_hdr *)skb_transport_header(skb); in gre_gso_segment()
Dudp_offload.c20 int tnl_hlen = skb_inner_mac_header(skb) - skb_transport_header(skb); in __skb_udp_tunnel_segment()
140 skb->csum_start = skb_transport_header(skb) - skb->head; in __skb_udp_tunnel_segment()
336 newlen = htons(skb_tail_pointer(seg) - skb_transport_header(seg) + in __udp_gso_segment()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/net/ethernet/huawei/hinic/
Dhinic_tx.c294 l4.hdr = skb_transport_header(skb); in offload_tso()
324 l4.hdr = skb_transport_header(skb); in offload_tso()
382 l4.hdr = skb_transport_header(skb); in offload_csum()
408 l4.hdr = skb_transport_header(skb); in offload_csum()
420 l4.hdr = skb_transport_header(skb); in offload_csum()
/kernel/linux/linux-5.10/net/802/
Dpsnap.c58 proto = find_snap_client(skb_transport_header(skb)); in snap_rcv()
/kernel/linux/linux-5.10/drivers/net/ethernet/qualcomm/rmnet/
Drmnet_map_data.c203 offset = htons((__force u16)(skb_transport_header(skb) - in rmnet_map_ipv4_ul_csum_header()
245 offset = htons((__force u16)(skb_transport_header(skb) - in rmnet_map_ipv6_ul_csum_header()

12345