Searched refs:tcp_header_len (Results 1 – 12 of 12) sorted by relevance
554 newtp->tcp_header_len = sizeof(struct tcphdr) + TCPOLEN_TSTAMP_ALIGNED; in tcp_create_openreq_child()557 newtp->tcp_header_len = sizeof(struct tcphdr); in tcp_create_openreq_child()572 if (skb->len >= TCP_MSS_DEFAULT + newtp->tcp_header_len) in tcp_create_openreq_child()573 newicsk->icsk_ack.last_seg_size = skb->len - newtp->tcp_header_len; in tcp_create_openreq_child()
375 struct tcphdr *th, int tcp_header_len) in tcp_ecn_send() argument381 if (skb->len != tcp_header_len && in tcp_ecn_send()1736 (tcp_sk(sk)->tcp_header_len - sizeof(struct tcphdr)); in tcp_mtu_to_mss()1748 tp->tcp_header_len + in tcp_mss_to_mtu()1850 if (header_len != tp->tcp_header_len) { in tcp_current_mss()1851 int delta = (int) header_len - tp->tcp_header_len; in tcp_current_mss()3778 tp->tcp_header_len = sizeof(struct tcphdr); in tcp_connect_init()3780 tp->tcp_header_len += TCPOLEN_TSTAMP_ALIGNED; in tcp_connect_init()3807 tp->advmss - (tp->rx_opt.ts_recent_stamp ? tp->tcp_header_len - sizeof(struct tcphdr) : 0), in tcp_connect_init()
293 len -= tcp_sk(sk)->tcp_header_len; in tcp_measure_rcv_mss()6018 int tcp_header_len = tp->tcp_header_len; in tcp_rcv_established() local6026 if (tcp_header_len == sizeof(struct tcphdr) + TCPOLEN_TSTAMP_ALIGNED) { in tcp_rcv_established()6042 if (len <= tcp_header_len) { in tcp_rcv_established()6044 if (len == tcp_header_len) { in tcp_rcv_established()6049 if (tcp_header_len == in tcp_rcv_established()6085 if (tcp_header_len == in tcp_rcv_established()6096 __skb_pull(skb, tcp_header_len); in tcp_rcv_established()6410 tp->tcp_header_len = in tcp_rcv_synsent_state_process()6415 tp->tcp_header_len = sizeof(struct tcphdr); in tcp_rcv_synsent_state_process()[all …]
180 u16 tcp_header_len; /* Bytes of tcp header to send */ member
270 unsigned int tcp_header_len; member
85 pkt_info->tcp_header_len = tcp_hdrlen(skb); in xlgmac_prep_tso()91 pkt_info->tcp_header_len, pkt_info->tcp_payload_len); in xlgmac_prep_tso()
894 pkt_info->tcp_header_len / 4); in xlgmac_dev_xmit()
363 unsigned int tcp_header_len; member
1694 packet->tcp_header_len = inner_tcp_hdrlen(skb); in xgbe_prep_tso()1697 packet->tcp_header_len = tcp_hdrlen(skb); in xgbe_prep_tso()1704 packet->tcp_header_len, packet->tcp_payload_len); in xgbe_prep_tso()
1865 packet->tcp_header_len / 4); in xgbe_dev_xmit()
668 return max_t(int, cutoff, 68U - tp->tcp_header_len); in tcp_bound_to_half_wnd()706 tp->pred_flags = htonl((tp->tcp_header_len << 26) | in __tcp_fast_path_on()
151 tp->tcp_header_len = sizeof(struct tcphdr); in assign_rxopt()161 tp->tcp_header_len += TCPOLEN_TSTAMP_ALIGNED; in assign_rxopt()