Home
last modified time | relevance | path

Searched refs:tcp_header_len (Results 1 – 3 of 3) sorted by relevance

/net/ipv4/
Dtcp_minisocks.c528 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()
Dtcp_output.c365 struct tcphdr *th, int tcp_header_len) in tcp_ecn_send() argument
371 if (skb->len != tcp_header_len && in tcp_ecn_send()
1506 (tcp_sk(sk)->tcp_header_len - sizeof(struct tcphdr)); in tcp_mtu_to_mss()
1518 tp->tcp_header_len + in tcp_mss_to_mtu()
1620 if (header_len != tp->tcp_header_len) { in tcp_current_mss()
1621 int delta = (int) header_len - tp->tcp_header_len; in tcp_current_mss()
3442 tp->tcp_header_len = sizeof(struct tcphdr); in tcp_connect_init()
3444 tp->tcp_header_len += TCPOLEN_TSTAMP_ALIGNED; in tcp_connect_init()
3448 tp->tcp_header_len += TCPOLEN_MD5SIG_ALIGNED; in tcp_connect_init()
3476 tp->advmss - (tp->rx_opt.ts_recent_stamp ? tp->tcp_header_len - sizeof(struct tcphdr) : 0), in tcp_connect_init()
Dtcp_input.c214 len -= tcp_sk(sk)->tcp_header_len; in tcp_measure_rcv_mss()
5676 int tcp_header_len = tp->tcp_header_len; in tcp_rcv_established() local
5684 if (tcp_header_len == sizeof(struct tcphdr) + TCPOLEN_TSTAMP_ALIGNED) { in tcp_rcv_established()
5700 if (len <= tcp_header_len) { in tcp_rcv_established()
5702 if (len == tcp_header_len) { in tcp_rcv_established()
5707 if (tcp_header_len == in tcp_rcv_established()
5742 if (tcp_header_len == in tcp_rcv_established()
5752 __skb_pull(skb, tcp_header_len); in tcp_rcv_established()
6045 tp->tcp_header_len = in tcp_rcv_synsent_state_process()
6050 tp->tcp_header_len = sizeof(struct tcphdr); in tcp_rcv_synsent_state_process()
[all …]