Searched refs:tcp_header_len (Results 1 – 3 of 3) sorted by relevance
528 newtp->tcp_header_len = sizeof(struct tcphdr) + TCPOLEN_TSTAMP_ALIGNED; in tcp_create_openreq_child()531 newtp->tcp_header_len = sizeof(struct tcphdr); in tcp_create_openreq_child()542 newtp->tcp_header_len += TCPOLEN_MD5SIG_ALIGNED; in tcp_create_openreq_child()544 if (skb->len >= TCP_MSS_DEFAULT + newtp->tcp_header_len) in tcp_create_openreq_child()545 newicsk->icsk_ack.last_seg_size = skb->len - newtp->tcp_header_len; in tcp_create_openreq_child()
365 struct tcphdr *th, int tcp_header_len) in tcp_ecn_send() argument371 if (skb->len != tcp_header_len && in tcp_ecn_send()1499 (tcp_sk(sk)->tcp_header_len - sizeof(struct tcphdr)); in tcp_mtu_to_mss()1510 tp->tcp_header_len + in tcp_mss_to_mtu()1612 if (header_len != tp->tcp_header_len) { in tcp_current_mss()1613 int delta = (int) header_len - tp->tcp_header_len; in tcp_current_mss()3390 tp->tcp_header_len = sizeof(struct tcphdr); in tcp_connect_init()3392 tp->tcp_header_len += TCPOLEN_TSTAMP_ALIGNED; in tcp_connect_init()3396 tp->tcp_header_len += TCPOLEN_MD5SIG_ALIGNED; in tcp_connect_init()3424 tp->advmss - (tp->rx_opt.ts_recent_stamp ? tp->tcp_header_len - sizeof(struct tcphdr) : 0), in tcp_connect_init()
200 len -= tcp_sk(sk)->tcp_header_len; in tcp_measure_rcv_mss()5590 int tcp_header_len = tp->tcp_header_len; in tcp_rcv_established() local5598 if (tcp_header_len == sizeof(struct tcphdr) + TCPOLEN_TSTAMP_ALIGNED) { in tcp_rcv_established()5614 if (len <= tcp_header_len) { in tcp_rcv_established()5616 if (len == tcp_header_len) { in tcp_rcv_established()5621 if (tcp_header_len == in tcp_rcv_established()5656 if (tcp_header_len == in tcp_rcv_established()5666 __skb_pull(skb, tcp_header_len); in tcp_rcv_established()5957 tp->tcp_header_len = in tcp_rcv_synsent_state_process()5962 tp->tcp_header_len = sizeof(struct tcphdr); in tcp_rcv_synsent_state_process()[all …]