Searched refs:skb_transport_header (Results 1 – 25 of 69) sorted by relevance
123
297 return (struct dccp_hdr *)skb_transport_header(skb); in dccp_hdr()304 return memset(skb_transport_header(skb), 0, headlen); in dccp_zeroed_hdr()337 return (struct dccp_hdr_request *)(skb_transport_header(skb) + in dccp_hdr_request()343 return (struct dccp_hdr_ack_bits *)(skb_transport_header(skb) + in dccp_hdr_ack_bits()355 return (struct dccp_hdr_response *)(skb_transport_header(skb) + in dccp_hdr_response()361 return (struct dccp_hdr_reset *)(skb_transport_header(skb) + in dccp_hdr_reset()
135 return (struct igmphdr *)skb_transport_header(skb); in igmp_hdr()141 return (struct igmpv3_report *)skb_transport_header(skb); in igmpv3_report_hdr()147 return (struct igmpv3_query *)skb_transport_header(skb); in igmpv3_query_hdr()
104 return (struct ddpehdr *)skb_transport_header(skb); in ddp_hdr()132 return (struct elapaarp *)skb_transport_header(skb); in aarp_hdr()
90 return (struct icmphdr *)skb_transport_header(skb); in icmp_hdr()
45 return (struct udphdr *)skb_transport_header(skb); in udp_hdr()
117 return (struct iphdr *)skb_transport_header(skb); in ipip_hdr()
86 return (struct icmp6hdr *)skb_transport_header(skb); in icmp6_hdr()
71 return (struct sctphdr *)skb_transport_header(skb); in sctp_hdr()
45 int ihl = skb->data - skb_transport_header(skb); in xfrm4_transport_input()48 memmove(skb_transport_header(skb), in xfrm4_transport_input()
49 int ihl = skb->data - skb_transport_header(skb); in xfrm6_transport_input()52 memmove(skb_transport_header(skb), in xfrm6_transport_input()
146 int len = (skb_transport_header(skb)[1] + 1) << 3; in ip6_parse_tlv()281 ((skb_transport_header(skb)[1] + 1) << 3)))) { in ipv6_destopt_rcv()294 skb->transport_header += (skb_transport_header(skb)[1] + 1) << 3; in ipv6_destopt_rcv()332 ((skb_transport_header(skb)[1] + 1) << 3)))) { in ipv6_rthdr_rcv()339 hdr = (struct ipv6_rt_hdr *)skb_transport_header(skb); in ipv6_rthdr_rcv()422 hdr = (struct ipv6_rt_hdr *)skb_transport_header(skb); in ipv6_rthdr_rcv()650 ((skb_transport_header(skb)[1] + 1) << 3)))) { in ipv6_parse_hopopts()657 skb->transport_header += (skb_transport_header(skb)[1] + 1) << 3; in ipv6_parse_hopopts()
468 hdr = (struct icmp6hdr *)skb_transport_header(skb); in ndisc_build_skb()471 opt = skb_transport_header(skb) + sizeof(struct icmp6hdr); in ndisc_build_skb()729 struct nd_msg *msg = (struct nd_msg *)skb_transport_header(skb); in ndisc_recv_ns()905 struct nd_msg *msg = (struct nd_msg *)skb_transport_header(skb); in ndisc_recv_na()1016 struct rs_msg *rs_msg = (struct rs_msg *)skb_transport_header(skb); in ndisc_recv_rs()1073 struct icmp6hdr *icmp6h = (struct icmp6hdr *)skb_transport_header(ra); in ndisc_ra_useropt()1131 struct ra_msg *ra_msg = (struct ra_msg *)skb_transport_header(skb); in ndisc_router_discovery()1687 msg = (struct nd_msg *)skb_transport_header(skb); in ndisc_rcv()1689 __skb_push(skb, skb->data - skb_transport_header(skb)); in ndisc_rcv()
162 dstopt = (struct ipv6_destopt_hdr *)skb_transport_header(skb); in mip6_destopt_output()382 rt2 = (struct rt2_hdr *)skb_transport_header(skb); in mip6_rthdr_output()
22 return (struct ip_auth_hdr *)skb_transport_header(skb); in ip_auth_hdr()
22 return (struct ip_esp_hdr *)skb_transport_header(skb); in ip_esp_hdr()
26 return (struct ip_comp_hdr *)skb_transport_header(skb); in ip_comp_hdr()
140 __wsum csum = csum_partial(skb_transport_header(skb), in udp_csum_outgoing()150 __wsum csum = csum_partial(skb_transport_header(skb), in udp_csum()
47 return (struct ipxhdr *)skb_transport_header(skb); in ipx_hdr()
317 return skb_transport_header(skb); in tcf_get_base_ptr()
70 *spi = htonl(ntohs(*(__be16*)(skb_transport_header(skb) + 2))); in xfrm_parse_spi()80 *spi = *(__be32*)(skb_transport_header(skb) + offset); in xfrm_parse_spi()81 *seq = *(__be32*)(skb_transport_header(skb) + offset_seq); in xfrm_parse_spi()
73 return (struct pnpipehdr *)skb_transport_header(skb); in pnp_hdr()
73 return (struct phonetmsg *)skb_transport_header(skb); in pn_msg()
62 proto = find_snap_client(skb_transport_header(skb)); in snap_rcv()
46 skb_set_transport_header(nskb, skb_transport_header(skb) - skb->head); in trailer_xmit()
395 skb_network_header(head)[fq->nhoffset] = skb_transport_header(head)[0]; in nf_ct_frag6_reasm()556 fhdr = (struct frag_hdr *)skb_transport_header(clone); in nf_ct_frag6_gather()