/linux-2.6.39/net/netfilter/ |
D | xt_TCPOPTSTRIP.c | 51 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/ |
D | tcp.h | 219 static inline unsigned int tcp_hdrlen(const struct sk_buff *skb) in tcp_hdrlen() function
|
/linux-2.6.39/drivers/net/bnx2x/ |
D | bnx2x_cmn.c | 1913 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/ |
D | atl1.c | 2132 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/ |
D | atl1e_main.c | 1586 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/ |
D | atl1c_main.c | 1990 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/ |
D | en_tx.c | 518 *lso_header_size = skb_transport_offset(skb) + tcp_hdrlen(skb); in get_real_size()
|
/linux-2.6.39/drivers/infiniband/ulp/ipoib/ |
D | ipoib_ib.c | 539 hlen = skb_transport_offset(skb) + tcp_hdrlen(skb); in ipoib_send()
|
/linux-2.6.39/drivers/net/bna/ |
D | bnad.c | 2552 (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/ |
D | ehea_main.c | 673 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/ |
D | pasemi_mac.c | 282 if (ntohs(iph->tot_len) < ip_len + tcp_hdrlen(skb)) in get_skb_hdr()
|
D | sky2.c | 1757 mss += ETH_HLEN + ip_hdrlen(skb) + tcp_hdrlen(skb); in sky2_xmit_frame()
|
/linux-2.6.39/drivers/net/e1000/ |
D | e1000_main.c | 2681 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/ |
D | myri10ge.c | 2774 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/ |
D | ixgb_main.c | 1206 hdr_len = skb_transport_offset(skb) + tcp_hdrlen(skb); in ixgb_tso()
|
/linux-2.6.39/net/ipv6/ |
D | tcp_ipv6.c | 1633 if (skb->len < tcp_hdrlen(skb) || tcp_checksum_complete(skb)) in tcp_v6_do_rcv()
|
/linux-2.6.39/net/ipv4/ |
D | tcp_ipv4.c | 1572 if (skb->len < tcp_hdrlen(skb) || tcp_checksum_complete(skb)) in tcp_v4_do_rcv()
|
/linux-2.6.39/drivers/net/enic/ |
D | enic_main.c | 711 unsigned int hdr_len = skb_transport_offset(skb) + tcp_hdrlen(skb); in enic_queue_wq_skb_tso()
|
/linux-2.6.39/drivers/net/igbvf/ |
D | netdev.c | 1887 l4len = tcp_hdrlen(skb); in igbvf_tso()
|
/linux-2.6.39/drivers/net/netxen/ |
D | netxen_nic_main.c | 1689 hdr_len = skb_transport_offset(skb) + tcp_hdrlen(skb); in netxen_tso_check()
|
/linux-2.6.39/drivers/net/e1000e/ |
D | netdev.c | 4430 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/ |
D | ixgbevf_main.c | 2732 l4len = tcp_hdrlen(skb); in ixgbevf_tso()
|
/linux-2.6.39/drivers/net/qlcnic/ |
D | qlcnic_main.c | 1907 hdr_len = skb_transport_offset(skb) + tcp_hdrlen(skb); in qlcnic_tso_check()
|
/linux-2.6.39/drivers/net/qlge/ |
D | qlge_main.c | 2497 cpu_to_le16(skb_transport_offset(skb) + tcp_hdrlen(skb)); in ql_tso()
|
/linux-2.6.39/drivers/net/igb/ |
D | igb_main.c | 3944 l4len = tcp_hdrlen(skb); in igb_tso_adv()
|