Home
last modified time | relevance | path

Searched refs:skb_transport_offset (Results 1 – 25 of 49) sorted by relevance

12

/linux-3.4.99/include/net/
Dudplite.h101 const int off = skb_transport_offset(skb); in udplite_csum_outgoing()
116 const int off = skb_transport_offset(skb); in udplite_csum()
Dipip.h50 int pkt_len = skb->len - skb_transport_offset(skb); \
/linux-3.4.99/net/ipv6/
Dexthdrs.c148 if (skb_transport_offset(skb) + len > skb_headlen(skb)) in ip6_parse_tlv()
279 if (!pskb_may_pull(skb, skb_transport_offset(skb) + 8) || in ipv6_destopt_rcv()
280 !pskb_may_pull(skb, (skb_transport_offset(skb) + in ipv6_destopt_rcv()
330 if (!pskb_may_pull(skb, skb_transport_offset(skb) + 8) || in ipv6_rthdr_rcv()
331 !pskb_may_pull(skb, (skb_transport_offset(skb) + in ipv6_rthdr_rcv()
Dip6_input.c206 if (!pskb_pull(skb, skb_transport_offset(skb))) in ip6_input_finish()
Draw.c115 hdr = skb_header_pointer(skb, skb_transport_offset(skb), in icmpv6_filter()
567 len = skb->len - skb_transport_offset(skb); in rawv6_push_pending_frames()
579 offset += skb_transport_offset(skb); in rawv6_push_pending_frames()
Dmip6.c90 mh = skb_header_pointer(skb, skb_transport_offset(skb), in mip6_mh_filter()
Dreassembly.c564 if (!pskb_may_pull(skb, (skb_transport_offset(skb) + in ipv6_frag_rcv()
Ddatagram.c584 if (skb_transport_offset(skb) + 4 <= skb->len) { in datagram_recv_ctl()
/linux-3.4.99/net/openvswitch/
Dactions.c141 int transport_len = skb->len - skb_transport_offset(skb); in set_ip_addr()
227 err = make_writable(skb, skb_transport_offset(skb) + in set_udp()
247 err = make_writable(skb, skb_transport_offset(skb) + in set_tcp()
Dflow.c84 int th_ofs = skb_transport_offset(skb); in tcphdr_ok()
100 return pskb_may_pull(skb, skb_transport_offset(skb) + in udphdr_ok()
106 return pskb_may_pull(skb, skb_transport_offset(skb) + in icmphdr_ok()
174 return pskb_may_pull(skb, skb_transport_offset(skb) + in icmp6hdr_ok()
187 likely(skb->len >= skb_transport_offset(skb) + sizeof(struct tcphdr))) { in ovs_flow_used()
517 int icmp_len = skb->len - skb_transport_offset(skb); in parse_icmpv6()
/linux-3.4.99/drivers/net/ethernet/intel/ixgbe/
Dixgbe_fcoe.c536 *hdr_len += skb_transport_offset(skb) + in ixgbe_fso()
553 vlan_macip_lens = skb_transport_offset(skb) + in ixgbe_fso()
555 vlan_macip_lens |= (skb_transport_offset(skb) - 4) in ixgbe_fso()
/linux-3.4.99/drivers/net/ethernet/atheros/atl1c/
Datl1c_main.c2013 proto_hdr_len = skb_transport_offset(skb) + tcp_hdrlen(skb); in atl1c_cal_tpd_req()
2048 hdr_len = (skb_transport_offset(skb) + tcp_hdrlen(skb)); in atl1c_tso_csum()
2073 hdr_len = (skb_transport_offset(skb) + tcp_hdrlen(skb)); in atl1c_tso_csum()
2092 (*tpd)->word1 |= (skb_transport_offset(skb) & TPD_TCPHDR_OFFSET_MASK) << in atl1c_tso_csum()
2140 map_len = hdr_len = skb_transport_offset(skb) + tcp_hdrlen(skb); in atl1c_tx_map()
/linux-3.4.99/drivers/net/ethernet/brocade/bna/
Dbnad.c2678 if (unlikely((gso_size + skb_transport_offset(skb) + in bnad_start_xmit()
2700 skb_transport_offset(skb))); in bnad_start_xmit()
2725 (0, skb_transport_offset(skb))); in bnad_start_xmit()
2730 skb_transport_offset(skb) + tcp_hdrlen(skb))) { in bnad_start_xmit()
2740 (0, skb_transport_offset(skb))); in bnad_start_xmit()
2744 skb_transport_offset(skb) + in bnad_start_xmit()
/linux-3.4.99/drivers/net/ethernet/intel/ixgb/
Dixgb_main.c1251 hdr_len = skb_transport_offset(skb) + tcp_hdrlen(skb); in ixgb_tso()
1261 ipcse = skb_transport_offset(skb) - 1; in ixgb_tso()
1262 tucss = skb_transport_offset(skb); in ixgb_tso()
/linux-3.4.99/net/sctp/
Dinput.c144 __skb_pull(skb, skb_transport_offset(skb)); in sctp_rcv()
/linux-3.4.99/drivers/net/ethernet/atheros/atl1e/
Datl1e_main.c1606 proto_hdr_len = skb_transport_offset(skb) + in atl1e_cal_tdp_req()
1642 hdr_len = (skb_transport_offset(skb) + tcp_hdrlen(skb)); in atl1e_tso_csum()
1710 map_len = hdr_len = skb_transport_offset(skb) + tcp_hdrlen(skb); in atl1e_tx_map()
/linux-3.4.99/drivers/net/ethernet/chelsio/cxgb4/
Dsge.c849 int start = skb_transport_offset(skb); in hwcsum()
1200 flits = skb_transport_offset(skb) / 8U; /* headers */ in calc_tx_flits_ofld()
1281 int last_desc, hdr_len = skb_transport_offset(skb); in service_ofldq()
/linux-3.4.99/net/ipv4/
Desp4.c224 uh->len = htons(skb->len - skb_transport_offset(skb)); in esp_output()
Draw.c139 hdr = skb_header_pointer(skb, skb_transport_offset(skb), in icmp_filter()
Dudp.c679 int offset = skb_transport_offset(skb); in udp4_hwcsum()
719 int offset = skb_transport_offset(skb); in udp_send_skb()
/linux-3.4.99/drivers/net/ethernet/pasemi/
Dpasemi_mac.c1414 cs_dest = map[0] + skb_transport_offset(skb) + 16; in pasemi_mac_queue_csdesc()
1419 cs_dest = map[0] + skb_transport_offset(skb) + 6; in pasemi_mac_queue_csdesc()
/linux-3.4.99/drivers/net/ethernet/qlogic/qlge/
Dqlge_main.c2487 cpu_to_le16(skb_transport_offset(skb) + tcp_hdrlen(skb)); in ql_tso()
2490 skb_transport_offset(skb) in ql_tso()
2524 skb_transport_offset(skb) << OB_MAC_TRANSPORT_HDR_SHIFT); in ql_hw_csum_setup()
2532 cpu_to_le16(skb_transport_offset(skb) + in ql_hw_csum_setup()
2538 cpu_to_le16(skb_transport_offset(skb) + in ql_hw_csum_setup()
/linux-3.4.99/drivers/net/ethernet/mellanox/mlx4/
Den_tx.c503 *lso_header_size = skb_transport_offset(skb) + tcp_hdrlen(skb); in get_real_size()
/linux-3.4.99/drivers/net/ethernet/chelsio/cxgb3/
Dsge.c1598 skb_transport_offset(skb) - sizeof(*from)); in write_ofld_wr()
1600 flits = skb_transport_offset(skb) / 8; in write_ofld_wr()
1628 flits = skb_transport_offset(skb) / 8; /* headers */ in calc_tx_descs_ofld()
/linux-3.4.99/drivers/net/ethernet/atheros/atlx/
Datl1.c2133 hdr_len = (skb_transport_offset(skb) + tcp_hdrlen(skb)); in atl1_tso()
2224 hdr_len = skb_transport_offset(skb) + tcp_hdrlen(skb); in atl1_tx_map()
2385 proto_hdr_len = (skb_transport_offset(skb) + in atl1_xmit_frame()

12