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.c363 struct tcphdr *th, int tcp_header_len) in tcp_ecn_send() argument
369 if (skb->len != tcp_header_len && in tcp_ecn_send()
1731 (tcp_sk(sk)->tcp_header_len - sizeof(struct tcphdr)); in tcp_mtu_to_mss()
1743 tp->tcp_header_len + in tcp_mss_to_mtu()
1845 if (header_len != tp->tcp_header_len) { in tcp_current_mss()
1846 int delta = (int) header_len - tp->tcp_header_len; in tcp_current_mss()
3681 tp->tcp_header_len = sizeof(struct tcphdr); in tcp_connect_init()
3683 tp->tcp_header_len += TCPOLEN_TSTAMP_ALIGNED; in tcp_connect_init()
3687 tp->tcp_header_len += TCPOLEN_MD5SIG_ALIGNED; in tcp_connect_init()
3715 tp->advmss - (tp->rx_opt.ts_recent_stamp ? tp->tcp_header_len - sizeof(struct tcphdr) : 0), in tcp_connect_init()
Dtcp_input.c279 len -= tcp_sk(sk)->tcp_header_len; in tcp_measure_rcv_mss()
5865 int tcp_header_len = tp->tcp_header_len; in tcp_rcv_established() local
5873 if (tcp_header_len == sizeof(struct tcphdr) + TCPOLEN_TSTAMP_ALIGNED) { in tcp_rcv_established()
5889 if (len <= tcp_header_len) { in tcp_rcv_established()
5891 if (len == tcp_header_len) { in tcp_rcv_established()
5896 if (tcp_header_len == in tcp_rcv_established()
5931 if (tcp_header_len == in tcp_rcv_established()
5941 __skb_pull(skb, tcp_header_len); in tcp_rcv_established()
6245 tp->tcp_header_len = in tcp_rcv_synsent_state_process()
6250 tp->tcp_header_len = sizeof(struct tcphdr); in tcp_rcv_synsent_state_process()
[all …]