Home
last modified time | relevance | path

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

123

/linux-3.4.99/include/linux/
Ddccp.h297 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()
Digmp.h135 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()
Datalk.h104 return (struct ddpehdr *)skb_transport_header(skb); in ddp_hdr()
132 return (struct elapaarp *)skb_transport_header(skb); in aarp_hdr()
Dicmp.h90 return (struct icmphdr *)skb_transport_header(skb); in icmp_hdr()
Dudp.h45 return (struct udphdr *)skb_transport_header(skb); in udp_hdr()
Dip.h117 return (struct iphdr *)skb_transport_header(skb); in ipip_hdr()
Dicmpv6.h86 return (struct icmp6hdr *)skb_transport_header(skb); in icmp6_hdr()
Dsctp.h71 return (struct sctphdr *)skb_transport_header(skb); in sctp_hdr()
/linux-3.4.99/net/ipv4/
Dxfrm4_mode_transport.c45 int ihl = skb->data - skb_transport_header(skb); in xfrm4_transport_input()
48 memmove(skb_transport_header(skb), in xfrm4_transport_input()
/linux-3.4.99/net/ipv6/
Dxfrm6_mode_transport.c49 int ihl = skb->data - skb_transport_header(skb); in xfrm6_transport_input()
52 memmove(skb_transport_header(skb), in xfrm6_transport_input()
Dexthdrs.c146 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()
Dndisc.c468 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()
Dmip6.c162 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()
/linux-3.4.99/include/net/
Dah.h22 return (struct ip_auth_hdr *)skb_transport_header(skb); in ip_auth_hdr()
Desp.h22 return (struct ip_esp_hdr *)skb_transport_header(skb); in ip_esp_hdr()
Dipcomp.h26 return (struct ip_comp_hdr *)skb_transport_header(skb); in ip_comp_hdr()
Dudp.h140 __wsum csum = csum_partial(skb_transport_header(skb), in udp_csum_outgoing()
150 __wsum csum = csum_partial(skb_transport_header(skb), in udp_csum()
Dipx.h47 return (struct ipxhdr *)skb_transport_header(skb); in ipx_hdr()
Dpkt_cls.h317 return skb_transport_header(skb); in tcf_get_base_ptr()
/linux-3.4.99/net/xfrm/
Dxfrm_input.c70 *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()
/linux-3.4.99/include/net/phonet/
Dpep.h73 return (struct pnpipehdr *)skb_transport_header(skb); in pnp_hdr()
Dphonet.h73 return (struct phonetmsg *)skb_transport_header(skb); in pn_msg()
/linux-3.4.99/net/802/
Dpsnap.c62 proto = find_snap_client(skb_transport_header(skb)); in snap_rcv()
/linux-3.4.99/net/dsa/
Dtag_trailer.c46 skb_set_transport_header(nskb, skb_transport_header(skb) - skb->head); in trailer_xmit()
/linux-3.4.99/net/ipv6/netfilter/
Dnf_conntrack_reasm.c395 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()

123