Home
last modified time | relevance | path

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

/linux-4.1.27/include/linux/
Ddccp.h67 return (struct dccp_hdr *)skb_transport_header(skb); in dccp_hdr()
74 return memset(skb_transport_header(skb), 0, headlen); in dccp_zeroed_hdr()
107 return (struct dccp_hdr_request *)(skb_transport_header(skb) + in dccp_hdr_request()
113 return (struct dccp_hdr_ack_bits *)(skb_transport_header(skb) + in dccp_hdr_ack_bits()
125 return (struct dccp_hdr_response *)(skb_transport_header(skb) + in dccp_hdr_response()
131 return (struct dccp_hdr_reset *)(skb_transport_header(skb) + in dccp_hdr_reset()
Digmp.h25 return (struct igmphdr *)skb_transport_header(skb); in igmp_hdr()
31 return (struct igmpv3_report *)skb_transport_header(skb); in igmpv3_report_hdr()
37 return (struct igmpv3_query *)skb_transport_header(skb); in igmpv3_query_hdr()
Datalk.h64 return (struct ddpehdr *)skb_transport_header(skb); in ddp_hdr()
92 return (struct elapaarp *)skb_transport_header(skb); in aarp_hdr()
Dicmp.h25 return (struct icmphdr *)skb_transport_header(skb); in icmp_hdr()
Dip.h35 return (struct iphdr *)skb_transport_header(skb); in ipip_hdr()
Dicmpv6.h9 return (struct icmp6hdr *)skb_transport_header(skb); in icmp6_hdr()
Dudp.h27 return (struct udphdr *)skb_transport_header(skb); in udp_hdr()
Dipv6.h87 return (struct ipv6hdr *)skb_transport_header(skb); in ipipv6_hdr()
Dtcp.h29 return (struct tcphdr *)skb_transport_header(skb); in tcp_hdr()
Dsctp.h69 return (struct sctphdr *)skb_transport_header(skb); in sctp_hdr()
Dskbuff.h1869 static inline unsigned char *skb_transport_header(const struct sk_buff *skb) in skb_transport_header() function
1958 return skb_transport_header(skb) - skb->data; in skb_transport_offset()
3362 csum = csum_fold(csum_partial(skb_transport_header(skb), in gso_make_checksum()
3453 unsigned int hdr_len = skb_transport_header(skb) - in skb_gso_network_seglen()
/linux-4.1.27/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()
Dgre_offload.c49 greh = (struct gre_base_hdr *)skb_transport_header(skb); in gre_gso_segment()
51 ghl = skb_inner_mac_header(skb) - skb_transport_header(skb); in gre_gso_segment()
100 skb_transport_header(skb); in gre_gso_segment()
Dgre_demux.c108 greh = (struct gre_base_hdr *)skb_transport_header(skb); in parse_gre_header()
118 greh = (struct gre_base_hdr *)skb_transport_header(skb); in parse_gre_header()
Dudp_offload.c37 int tnl_hlen = skb_inner_mac_header(skb) - skb_transport_header(skb); in __skb_udp_tunnel_segment()
115 skb->csum_start = skb_transport_header(skb) - skb->head; in __skb_udp_tunnel_segment()
Dip_output.c705 if (skb_copy_bits(skb, ptr, skb_transport_header(skb2), len)) in ip_fragment()
1263 skb_transport_header(skb), in ip_append_page()
1409 skb_transport_header(skb))->type); in __ip_make_skb()
1573 *((__sum16 *)skb_transport_header(nskb) + in ip_send_unicast_reply()
Dtcp_offload.c168 skb_transport_header(skb)) + in tcp_gso_segment()
Dipconfig.c515 rarp = (struct arphdr *)skb_transport_header(skb); in ic_rarp_recv()
535 rarp = (struct arphdr *)skb_transport_header(skb); in ic_rarp_recv()
Draw.c412 skb_transport_header(skb))->type); in raw_send_hdrinc()
Dudp.c732 skb->csum_start = skb_transport_header(skb) - skb->head; in udp4_hwcsum()
777 skb->csum_start = skb_transport_header(skb) - skb->head; in udp_set_csum()
Dipmr.c2061 encap = (struct iphdr *)(skb_transport_header(skb) + pimlen); in __pim_rcv()
2136 pim = (struct pimreghdr *)skb_transport_header(skb); in pim_rcv()
Dip_sockglue.c136 __be16 *ports = (__be16 *)skb_transport_header(skb); in ip_cmsg_recv_dstaddr()
Dtcp_ipv4.c547 skb->csum_start = skb_transport_header(skb) - skb->head; in __tcp_v4_send_check()
Dtcp_input.c150 len += skb->data - skb_transport_header(skb); in tcp_measure_rcv_mss()
1640 const unsigned char *ptr = (skb_transport_header(ack_skb) + in tcp_sacktag_write_queue()
Digmp.c393 const int igmplen = skb_tail_pointer(skb) - skb_transport_header(skb); in igmpv3_sendpack()
/linux-4.1.27/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.c102 int len = (skb_transport_header(skb)[1] + 1) << 3; in ip6_parse_tlv()
260 ((skb_transport_header(skb)[1] + 1) << 3)))) { in ipv6_destopt_rcv()
273 skb->transport_header += (skb_transport_header(skb)[1] + 1) << 3; in ipv6_destopt_rcv()
311 ((skb_transport_header(skb)[1] + 1) << 3)))) { in ipv6_rthdr_rcv()
318 hdr = (struct ipv6_rt_hdr *)skb_transport_header(skb); in ipv6_rthdr_rcv()
401 hdr = (struct ipv6_rt_hdr *)skb_transport_header(skb); in ipv6_rthdr_rcv()
630 ((skb_transport_header(skb)[1] + 1) << 3)))) { in ipv6_parse_hopopts()
637 skb->transport_header += (skb_transport_header(skb)[1] + 1) << 3; in ipv6_parse_hopopts()
Dndisc.c704 struct nd_msg *msg = (struct nd_msg *)skb_transport_header(skb); in ndisc_recv_ns()
708 u32 ndoptlen = skb_tail_pointer(skb) - (skb_transport_header(skb) + in ndisc_recv_ns()
864 struct nd_msg *msg = (struct nd_msg *)skb_transport_header(skb); in ndisc_recv_na()
868 u32 ndoptlen = skb_tail_pointer(skb) - (skb_transport_header(skb) + in ndisc_recv_na()
968 struct rs_msg *rs_msg = (struct rs_msg *)skb_transport_header(skb); in ndisc_recv_rs()
1023 struct icmp6hdr *icmp6h = (struct icmp6hdr *)skb_transport_header(ra); in ndisc_ra_useropt()
1069 struct ra_msg *ra_msg = (struct ra_msg *)skb_transport_header(skb); in ndisc_router_discovery()
1080 optlen = (skb_tail_pointer(skb) - skb_transport_header(skb)) - in ndisc_router_discovery()
1407 struct rd_msg *msg = (struct rd_msg *)skb_transport_header(skb); in ndisc_redirect_rcv()
1408 u32 ndoptlen = skb_tail_pointer(skb) - (skb_transport_header(skb) + in ndisc_redirect_rcv()
[all …]
Dip6_checksum.c107 skb->csum_start = skb_transport_header(skb) - skb->head; in udp6_set_csum()
Dmip6.c164 dstopt = (struct ipv6_destopt_hdr *)skb_transport_header(skb); in mip6_destopt_output()
383 rt2 = (struct rt2_hdr *)skb_transport_header(skb); in mip6_rthdr_output()
Dmcast.c1356 mlh2 = (struct mld2_query *)skb_transport_header(skb); in igmp6_event_query()
1375 mlh2 = (struct mld2_query *)skb_transport_header(skb); in igmp6_event_query()
1596 pmr = (struct mld2_report *)skb_transport_header(skb); in mld_newpack()
1609 (struct mld2_report *)skb_transport_header(skb); in mld_sendpack()
1623 mldlen = skb_tail_pointer(skb) - skb_transport_header(skb); in mld_sendpack()
1628 csum_partial(skb_transport_header(skb), in mld_sendpack()
1687 pmr = (struct mld2_report *)skb_transport_header(skb); in add_grhead()
1720 pmr = skb ? (struct mld2_report *)skb_transport_header(skb) : NULL; in add_grec()
Dreassembly.c456 skb_network_header(head)[nhoff] = skb_transport_header(head)[0]; in ip6_frag_reasm()
544 fhdr = (struct frag_hdr *)skb_transport_header(skb); in ipv6_frag_rcv()
Dip6mr.c639 pim = (struct pimreghdr *)skb_transport_header(skb); in pim6_rcv()
649 encap = (struct ipv6hdr *)(skb_transport_header(skb) + in pim6_rcv()
1168 msg = (struct mrt6msg *)skb_transport_header(skb); in ip6mr_cache_report()
1193 msg = (struct mrt6msg *)skb_transport_header(skb); in ip6mr_cache_report()
Ddatagram.c656 __be16 *ports = (__be16 *) skb_transport_header(skb); in ip6_datagram_recv_specific_ctl()
Draw.c1139 skb_transport_header(skb); in rawv6_ioctl()
Dudp.c995 skb->csum_start = skb_transport_header(skb) - skb->head; in udp6_hwcsum_outgoing()
Dip6_output.c793 BUG_ON(skb_copy_bits(skb, ptr, skb_transport_header(frag), in ip6_fragment()
Dip6_gre.c517 skb_postpull_rcsum(skb, skb_transport_header(skb), offset); in ip6gre_rcv()
Droute.c1841 optlen = skb_tail_pointer(skb) - skb_transport_header(skb); in rt6_do_redirect()
/linux-4.1.27/include/net/
Desp.h10 return (struct ip_esp_hdr *)skb_transport_header(skb); in ip_esp_hdr()
Dah.h19 return (struct ip_auth_hdr *)skb_transport_header(skb); in ip_auth_hdr()
Dipcomp.h26 return (struct ip_comp_hdr *)skb_transport_header(skb); in ip_comp_hdr()
Dip6_checksum.h75 skb->csum_start = skb_transport_header(skb) - skb->head; in __tcp_v6_send_check()
Dudp.h133 __wsum csum = csum_partial(skb_transport_header(skb), in udp_csum_outgoing()
143 __wsum csum = csum_partial(skb_transport_header(skb), in udp_csum()
Dvxlan.h175 (skb_inner_mac_header(skb) - skb_transport_header(skb) != in vxlan_features_check()
Dipx.h50 return (struct ipxhdr *)skb_transport_header(skb); in ipx_hdr()
Dpkt_cls.h319 return skb_transport_header(skb); in tcf_get_base_ptr()
/linux-4.1.27/net/xfrm/
Dxfrm_input.c147 *spi = htonl(ntohs(*(__be16 *)(skb_transport_header(skb) + 2))); in xfrm_parse_spi()
157 *spi = *(__be32 *)(skb_transport_header(skb) + offset); in xfrm_parse_spi()
158 *seq = *(__be32 *)(skb_transport_header(skb) + offset_seq); in xfrm_parse_spi()
/linux-4.1.27/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-4.1.27/net/802/
Dpsnap.c62 proto = find_snap_client(skb_transport_header(skb)); in snap_rcv()
/linux-4.1.27/net/dsa/
Dtag_trailer.c45 skb_set_transport_header(nskb, skb_transport_header(skb) - skb->head); in trailer_xmit()
/linux-4.1.27/net/6lowpan/
Dnhc.c192 skb_transport_header(skb), nhc->nexthdrlen); in lowpan_nhc_do_uncompression()
/linux-4.1.27/net/ipv6/netfilter/
Dnf_conntrack_reasm.c439 skb_network_header(head)[fq->nhoffset] = skb_transport_header(head)[0]; in nf_ct_frag6_reasm()
604 fhdr = (struct frag_hdr *)skb_transport_header(clone); in nf_ct_frag6_gather()
/linux-4.1.27/drivers/net/ethernet/intel/i40e/
Di40e_fcoe.c1072 fh = (struct fc_frame_header *)skb_transport_header(skb); in i40e_fcoe_program_ddp()
1154 fh = (struct fc_frame_header *)skb_transport_header(skb); in i40e_fcoe_handle_ddp()
1236 fh = (struct fc_frame_header *)skb_transport_header(skb); in i40e_fcoe_tso()
/linux-4.1.27/net/sched/
Dsch_tbf.c151 unsigned int hdr_len = skb_transport_header(skb) - skb_mac_header(skb); in skb_gso_mac_seglen()
/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb3/
Dsge.c1540 if (skb_tail_pointer(skb) - skb_transport_header(skb)) in deferred_unmap_destructor()
1542 skb_transport_header(skb), PCI_DMA_TODEVICE); in deferred_unmap_destructor()
1601 sgl_flits = make_sgl(skb, sgp, skb_transport_header(skb), in write_ofld_wr()
1603 skb_transport_header(skb), in write_ofld_wr()
1630 if (skb_tail_pointer(skb) != skb_transport_header(skb)) in calc_tx_descs_ofld()
/linux-4.1.27/net/irda/
Daf_irda.c1324 err = memcpy_from_msg(skb_transport_header(skb), msg, len); in irda_sendmsg()
1574 err = memcpy_from_msg(skb_transport_header(skb), msg, len); in irda_sendmsg_dgram()
1683 err = memcpy_from_msg(skb_transport_header(skb), msg, len); in irda_sendmsg_ultra()
/linux-4.1.27/net/sctp/
Doutput.c543 nskb->csum_start = skb_transport_header(nskb) - nskb->head; in sctp_packet_transmit()
/linux-4.1.27/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_cmn.c3403 hlen = (int)(skb_transport_header(skb) - skb->data) + in bnx2x_pkt_req_lin()
3537 ((((u8 *)skb_transport_header(skb) - skb->data) >> 1) << in bnx2x_set_pbd_csum_e2()
3546 return skb_transport_header(skb) + tcp_hdrlen(skb) - skb->data; in bnx2x_set_pbd_csum_e2()
3551 return skb_transport_header(skb) + sizeof(struct udphdr) - skb->data; in bnx2x_set_pbd_csum_e2()
3588 pbd->ip_hlen_w = (skb_transport_header(skb) - in bnx2x_set_pbd_csum()
3614 bnx2x_csum_fix(skb_transport_header(skb), in bnx2x_set_pbd_csum()
Dbnx2x.h873 #define SKB_CS(skb) (*(u16 *)(skb_transport_header(skb) + \
/linux-4.1.27/drivers/net/ethernet/intel/fm10k/
Dfm10k_main.c693 return (struct ethhdr *)(skb_transport_header(skb) + VXLAN_HLEN); in fm10k_port_is_vxlan()
813 th = skb_transport_header(skb); in fm10k_tso()
/linux-4.1.27/drivers/net/ethernet/sun/
Dsunvnet.c1085 offset = skb_transport_header(skb) - skb->data; in vnet_skb_shape()
1155 int hlen = skb_transport_header(skb) - skb_mac_header(skb); in vnet_handle_offloads()
1227 curr->csum_start = skb_transport_header(curr) - curr->head; in vnet_handle_offloads()
/linux-4.1.27/drivers/infiniband/hw/nes/
Dnes_nic.c569 hoffset = skb_transport_header(skb) - skb->data; in nes_netdev_start_xmit()
571 original_first_length = hoffset + ((((struct tcphdr *)skb_transport_header(skb))->doff)<<2); in nes_netdev_start_xmit()
671 hoffset = skb_transport_header(skb) - skb->data; in nes_netdev_start_xmit()
/linux-4.1.27/net/l2tp/
Dl2tp_ip6.c471 transhdr = (__be32 *)skb_transport_header(skb); in l2tp_ip6_push_pending_frames()
/linux-4.1.27/drivers/net/ethernet/intel/igbvf/
Dnetdev.c1958 info |= (skb_transport_header(skb) - skb_network_header(skb)); in igbvf_tso()
1959 *hdr_len += (skb_transport_header(skb) - skb_network_header(skb)); in igbvf_tso()
2010 info |= (skb_transport_header(skb) - in igbvf_tx_csum()
/linux-4.1.27/drivers/net/appletalk/
Dltpc.c919 hdr = skb_transport_header(skb); in ltpc_xmit()
/linux-4.1.27/net/openvswitch/
Dflow.c386 nd = (struct nd_msg *)skb_transport_header(skb); in parse_icmpv6()
/linux-4.1.27/drivers/net/ethernet/intel/ixgbe/
Dixgbe_fcoe.c580 fh = (struct fc_frame_header *)skb_transport_header(skb); in ixgbe_fso()
/linux-4.1.27/drivers/scsi/fcoe/
Dfcoe.c1481 fh = (struct fc_frame_header *) skb_transport_header(skb); in fcoe_rcv()
1751 fh = (struct fc_frame_header *) skb_transport_header(skb); in fcoe_filter_frames()
/linux-4.1.27/net/bridge/
Dbr_multicast.c1766 mld = (struct mld_msg *)skb_transport_header(skb2); in br_multicast_ipv6_rcv()
1784 mld = (struct mld_msg *)skb_transport_header(skb2); in br_multicast_ipv6_rcv()
/linux-4.1.27/drivers/net/
Dvxlan.c1447 ns = (struct nd_msg *)skb_transport_header(request); in vxlan_na_create()
1525 msg = (struct nd_msg *)skb_transport_header(skb); in neigh_reduce()
2069 msg = (struct nd_msg *)skb_transport_header(skb); in vxlan_xmit()
/linux-4.1.27/drivers/scsi/bnx2fc/
Dbnx2fc_fcoe.c448 fh = (struct fc_frame_header *) skb_transport_header(skb); in bnx2fc_rcv()
523 fh = (struct fc_frame_header *) skb_transport_header(skb); in bnx2fc_recv_frame()
/linux-4.1.27/drivers/net/ethernet/sfc/
Dtx.c1020 st->tcp_off = skb_transport_header(skb) - skb->data; in tso_start()
/linux-4.1.27/net/netrom/
Daf_netrom.c1115 if (memcpy_from_msg(skb_transport_header(skb), msg, len)) { in nr_sendmsg()
/linux-4.1.27/net/rose/
Daf_rose.c1123 err = memcpy_from_msg(skb_transport_header(skb), msg, len); in rose_sendmsg()
/linux-4.1.27/net/wireless/
Dutil.c546 h_pos = skb_transport_header(skb) - skb->data; in ieee80211_data_from_8023()
/linux-4.1.27/net/x25/
Daf_x25.c1172 rc = memcpy_from_msg(skb_transport_header(skb), msg, len); in x25_sendmsg()
/linux-4.1.27/drivers/net/ethernet/ibm/
Dibmveth.c978 unsigned char *buf = skb_transport_header(skb) + in ibmveth_start_xmit()
/linux-4.1.27/net/ax25/
Daf_ax25.c1591 *skb_transport_header(skb) = AX25_UI; in ax25_sendmsg()
/linux-4.1.27/net/bluetooth/
Dhci_core.c3427 hdr = (struct hci_acl_hdr *)skb_transport_header(skb); in hci_add_acl_hdr()
3518 memcpy(skb_transport_header(skb), &hdr, HCI_SCO_HDR_SIZE); in hci_send_sco()
/linux-4.1.27/drivers/net/xen-netback/
Dnetback.c1492 int hdrlen = skb_transport_header(skb) - in xenvif_tx_submit()
/linux-4.1.27/drivers/scsi/cxgbi/cxgb4i/
Dcxgb4i.c495 if (skb_tail_pointer(skb) != skb_transport_header(skb)) in calc_tx_flits_ofld()
/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb4/
Dsge.c1478 if (skb_tail_pointer(skb) != skb_transport_header(skb)) in calc_tx_flits_ofld()
/linux-4.1.27/net/mac80211/
Dtx.c2306 h_pos = skb_transport_header(skb) - skb->data; in ieee80211_build_hdr()
/linux-4.1.27/net/core/
Dpktgen.c2988 skb->csum_start = skb_transport_header(skb) - skb->head; in fill_packet_ipv6()
Dskbuff.c4184 skb_transport_header(skb); in skb_gso_transport_seglen()
Ddev.c2791 hdr_len = skb_transport_header(skb) - skb_mac_header(skb); in qdisc_pkt_len_init()
/linux-4.1.27/drivers/net/ethernet/emulex/benet/
Dbe_main.c4993 skb_inner_mac_header(skb) - skb_transport_header(skb) != in be_features_check()