Searched refs:tcp_header_len (Results 1 – 14 of 14) sorted by relevance
583 newtp->tcp_header_len = sizeof(struct tcphdr) + TCPOLEN_TSTAMP_ALIGNED; in tcp_create_openreq_child()587 newtp->tcp_header_len = sizeof(struct tcphdr); in tcp_create_openreq_child()616 newtp->tcp_header_len += tcp_ao_len_aligned(ao_key); in tcp_create_openreq_child()619 if (skb->len >= TCP_MSS_DEFAULT + newtp->tcp_header_len) in tcp_create_openreq_child()620 newicsk->icsk_ack.last_seg_size = skb->len - newtp->tcp_header_len; in tcp_create_openreq_child()
377 struct tcphdr *th, int tcp_header_len) in tcp_ecn_send() argument383 if (skb->len != tcp_header_len && in tcp_ecn_send()1779 (tcp_sk(sk)->tcp_header_len - sizeof(struct tcphdr)); in tcp_mtu_to_mss()1790 tp->tcp_header_len + in tcp_mss_to_mtu()1883 if (header_len != tp->tcp_header_len) { in tcp_current_mss()1884 int delta = (int) header_len - tp->tcp_header_len; in tcp_current_mss()3885 tp->tcp_header_len = sizeof(struct tcphdr); in tcp_connect_init()3887 tp->tcp_header_len += TCPOLEN_TSTAMP_ALIGNED; in tcp_connect_init()3916 tp->advmss - (tp->rx_opt.ts_recent_stamp ? tp->tcp_header_len - sizeof(struct tcphdr) : 0), in tcp_connect_init()
287 len -= tcp_sk(sk)->tcp_header_len; in tcp_measure_rcv_mss()6134 int tcp_header_len = tp->tcp_header_len; in tcp_rcv_established() local6142 if (tcp_header_len == sizeof(struct tcphdr) + TCPOLEN_TSTAMP_ALIGNED) { in tcp_rcv_established()6158 if (len <= tcp_header_len) { in tcp_rcv_established()6160 if (len == tcp_header_len) { in tcp_rcv_established()6165 if (tcp_header_len == in tcp_rcv_established()6201 if (tcp_header_len == in tcp_rcv_established()6212 __skb_pull(skb, tcp_header_len); in tcp_rcv_established()6529 tp->tcp_header_len = in tcp_rcv_synsent_state_process()6534 tp->tcp_header_len = sizeof(struct tcphdr); in tcp_rcv_synsent_state_process()[all …]
1142 tp->tcp_header_len += tcp_ao_len_aligned(key); in tcp_ao_connect_init()
11 u16 tcp_header_len read_mostly read_mostly tcp_b…
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()
223 u16 tcp_header_len; /* Bytes of tcp header to send */ member
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()
721 return max_t(int, cutoff, 68U - tp->tcp_header_len); in tcp_bound_to_half_wnd()759 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()