Home
last modified time | relevance | path

Searched refs:tcp_hdrlen (Results 1 – 25 of 26) sorted by relevance

12

/linux-2.6.39/net/netfilter/
Dxt_TCPOPTSTRIP.c51 for (i = sizeof(struct tcphdr); i < tcp_hdrlen(skb); i += optl) { in tcpoptstrip_mangle_packet()
54 if (i + optl > tcp_hdrlen(skb)) in tcpoptstrip_mangle_packet()
/linux-2.6.39/include/linux/
Dtcp.h219 static inline unsigned int tcp_hdrlen(const struct sk_buff *skb) in tcp_hdrlen() function
/linux-2.6.39/drivers/net/bnx2x/
Dbnx2x_cmn.c1913 tcp_hdrlen(skb); in bnx2x_pkt_req_lin()
2028 *parsing_data |= ((tcp_hdrlen(skb) / 4) << in bnx2x_set_pbd_csum_e2()
2032 return skb_transport_header(skb) + tcp_hdrlen(skb) - skb->data; in bnx2x_set_pbd_csum_e2()
2068 hlen += tcp_hdrlen(skb) / 2; in bnx2x_set_pbd_csum()
/linux-2.6.39/drivers/net/atlx/
Datl1.c2132 hdr_len = (skb_transport_offset(skb) + tcp_hdrlen(skb)); in atl1_tso()
2137 iph->daddr, tcp_hdrlen(skb), in atl1_tso()
2141 ptpd->word3 |= ((tcp_hdrlen(skb) >> 2) & in atl1_tso()
2161 ptpd->word3 |= ((tcp_hdrlen(skb) >> 2) & in atl1_tso()
2223 hdr_len = skb_transport_offset(skb) + tcp_hdrlen(skb); in atl1_tx_map()
2388 tcp_hdrlen(skb)); in atl1_xmit_frame()
/linux-2.6.39/drivers/net/atl1e/
Datl1e_main.c1586 tcp_hdrlen(skb); in atl1e_cal_tdp_req()
1621 hdr_len = (skb_transport_offset(skb) + tcp_hdrlen(skb)); in atl1e_tso_csum()
1637 tpd->word3 |= ((tcp_hdrlen(skb) >> 2) & in atl1e_tso_csum()
1687 map_len = hdr_len = skb_transport_offset(skb) + tcp_hdrlen(skb); in atl1e_tx_map()
/linux-2.6.39/drivers/net/atl1c/
Datl1c_main.c1990 proto_hdr_len = skb_transport_offset(skb) + tcp_hdrlen(skb); in atl1c_cal_tpd_req()
2025 hdr_len = (skb_transport_offset(skb) + tcp_hdrlen(skb)); in atl1c_tso_csum()
2050 hdr_len = (skb_transport_offset(skb) + tcp_hdrlen(skb)); in atl1c_tso_csum()
2117 map_len = hdr_len = skb_transport_offset(skb) + tcp_hdrlen(skb); in atl1c_tx_map()
/linux-2.6.39/drivers/net/mlx4/
Den_tx.c518 *lso_header_size = skb_transport_offset(skb) + tcp_hdrlen(skb); in get_real_size()
/linux-2.6.39/drivers/infiniband/ulp/ipoib/
Dipoib_ib.c539 hlen = skb_transport_offset(skb) + tcp_hdrlen(skb); in ipoib_send()
/linux-2.6.39/drivers/net/bna/
Dbnad.c2552 (tcp_hdrlen(skb) >> 2, in bnad_start_xmit()
2574 skb_transport_offset(skb) + tcp_hdrlen(skb))); in bnad_start_xmit()
/linux-2.6.39/drivers/net/ehea/
Dehea_main.c673 if (ntohs(iph->tot_len) < ip_len + tcp_hdrlen(skb)) in get_skb_hdr()
1741 headersize = ETH_HLEN + ip_hdrlen(skb) + tcp_hdrlen(skb); in write_swqe2_TSO()
/linux-2.6.39/drivers/net/
Dpasemi_mac.c282 if (ntohs(iph->tot_len) < ip_len + tcp_hdrlen(skb)) in get_skb_hdr()
Dsky2.c1757 mss += ETH_HLEN + ip_hdrlen(skb) + tcp_hdrlen(skb); in sky2_xmit_frame()
/linux-2.6.39/drivers/net/e1000/
De1000_main.c2681 hdr_len = skb_transport_offset(skb) + tcp_hdrlen(skb); in e1000_tso()
3088 hdr_len = skb_transport_offset(skb) + tcp_hdrlen(skb); in e1000_xmit_frame()
/linux-2.6.39/drivers/net/myri10ge/
Dmyri10ge.c2774 cum_len = -(skb_transport_offset(skb) + tcp_hdrlen(skb)); in myri10ge_xmit()
2780 cksum_offset = tcp_hdrlen(skb); in myri10ge_xmit()
/linux-2.6.39/drivers/net/ixgb/
Dixgb_main.c1206 hdr_len = skb_transport_offset(skb) + tcp_hdrlen(skb); in ixgb_tso()
/linux-2.6.39/net/ipv6/
Dtcp_ipv6.c1633 if (skb->len < tcp_hdrlen(skb) || tcp_checksum_complete(skb)) in tcp_v6_do_rcv()
/linux-2.6.39/net/ipv4/
Dtcp_ipv4.c1572 if (skb->len < tcp_hdrlen(skb) || tcp_checksum_complete(skb)) in tcp_v4_do_rcv()
/linux-2.6.39/drivers/net/enic/
Denic_main.c711 unsigned int hdr_len = skb_transport_offset(skb) + tcp_hdrlen(skb); in enic_queue_wq_skb_tso()
/linux-2.6.39/drivers/net/igbvf/
Dnetdev.c1887 l4len = tcp_hdrlen(skb); in igbvf_tso()
/linux-2.6.39/drivers/net/netxen/
Dnetxen_nic_main.c1689 hdr_len = skb_transport_offset(skb) + tcp_hdrlen(skb); in netxen_tso_check()
/linux-2.6.39/drivers/net/e1000e/
Dnetdev.c4430 hdr_len = skb_transport_offset(skb) + tcp_hdrlen(skb); in e1000_tso()
4823 hdr_len = skb_transport_offset(skb) + tcp_hdrlen(skb); in e1000_xmit_frame()
/linux-2.6.39/drivers/net/ixgbevf/
Dixgbevf_main.c2732 l4len = tcp_hdrlen(skb); in ixgbevf_tso()
/linux-2.6.39/drivers/net/qlcnic/
Dqlcnic_main.c1907 hdr_len = skb_transport_offset(skb) + tcp_hdrlen(skb); in qlcnic_tso_check()
/linux-2.6.39/drivers/net/qlge/
Dqlge_main.c2497 cpu_to_le16(skb_transport_offset(skb) + tcp_hdrlen(skb)); in ql_tso()
/linux-2.6.39/drivers/net/igb/
Digb_main.c3944 l4len = tcp_hdrlen(skb); in igb_tso_adv()

12