Searched refs:proto_hdr_len (Results 1 – 4 of 4) sorted by relevance
1602 u16 proto_hdr_len = 0; in atl1e_cal_tdp_req() local1612 proto_hdr_len = skb_tcp_all_headers(skb); in atl1e_cal_tdp_req()1613 if (proto_hdr_len < skb_headlen(skb)) { in atl1e_cal_tdp_req()1614 tpd_req += ((skb_headlen(skb) - proto_hdr_len + in atl1e_cal_tdp_req()
2351 unsigned int proto_hdr_len; in atl1_xmit_frame() local2370 proto_hdr_len = skb_tcp_all_headers(skb); in atl1_xmit_frame()2371 if (unlikely(proto_hdr_len > len)) { in atl1_xmit_frame()2376 if (proto_hdr_len != len) in atl1_xmit_frame()2377 count += (len - proto_hdr_len + in atl1_xmit_frame()
4082 u8 proto_hdr_len, hdr; in stmmac_tso_xmit() local4092 proto_hdr_len = skb_transport_offset(skb) + sizeof(struct udphdr); in stmmac_tso_xmit()4095 proto_hdr_len = skb_tcp_all_headers(skb); in stmmac_tso_xmit()4101 (((skb->len - proto_hdr_len) / TSO_MAX_BUFF_SIZE + 1)))) { in stmmac_tso_xmit()4113 pay_len = skb_headlen(skb) - proto_hdr_len; /* no frags */ in stmmac_tso_xmit()4133 __func__, hdr, proto_hdr_len, pay_len, mss); in stmmac_tso_xmit()4169 first->des1 = cpu_to_le32(des + proto_hdr_len); in stmmac_tso_xmit()4176 des += proto_hdr_len; in stmmac_tso_xmit()4265 proto_hdr_len, in stmmac_tso_xmit()4268 hdr / 4, (skb->len - proto_hdr_len)); in stmmac_tso_xmit()
2070 u16 proto_hdr_len = 0; in atl1c_cal_tpd_req() local2075 proto_hdr_len = skb_tcp_all_headers(skb); in atl1c_cal_tpd_req()2076 if (proto_hdr_len < skb_headlen(skb)) in atl1c_cal_tpd_req()