Home
last modified time | relevance | path

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

/linux-2.4.37.9/include/net/
Dtcp_ecn.h48 TCP_ECN_send(struct sock *sk, struct tcp_opt *tp, struct sk_buff *skb, int tcp_header_len) in TCP_ECN_send() argument
52 if (skb->len != tcp_header_len && in TCP_ECN_send()
Dsock.h267 int tcp_header_len; /* Bytes of tcp header to send */ member
Dtcp.h974 tp->pred_flags = htonl((tp->tcp_header_len << 26) | in __tcp_fast_path_on()
/linux-2.4.37.9/net/ipv4/
Dtcp_input.c168 len -= tp->tcp_header_len; in tcp_measure_rcv_mss()
4122 int tcp_header_len = tp->tcp_header_len; in tcp_rcv_established() local
4130 if (tcp_header_len == sizeof(struct tcphdr) + TCPOLEN_TSTAMP_ALIGNED) { in tcp_rcv_established()
4155 if (len <= tcp_header_len) { in tcp_rcv_established()
4157 if (len == tcp_header_len) { in tcp_rcv_established()
4162 if (tcp_header_len == in tcp_rcv_established()
4185 len - tcp_header_len <= tp->ucopy.len && in tcp_rcv_established()
4189 if (!tcp_copy_to_iovec(sk, skb, tcp_header_len)) { in tcp_rcv_established()
4194 if (tcp_header_len == in tcp_rcv_established()
4202 __skb_pull(skb, tcp_header_len); in tcp_rcv_established()
[all …]
Dtcp_minisocks.c781 newtp->tcp_header_len = sizeof(struct tcphdr) + TCPOLEN_TSTAMP_ALIGNED; in tcp_create_openreq_child()
784 newtp->tcp_header_len = sizeof(struct tcphdr); in tcp_create_openreq_child()
786 if (skb->len >= TCP_MIN_RCVMSS+newtp->tcp_header_len) in tcp_create_openreq_child()
787 newtp->ack.last_seg_size = skb->len-newtp->tcp_header_len; in tcp_create_openreq_child()
Dtcp_output.c201 int tcp_header_size = tp->tcp_header_len; in tcp_transmit_skb()
546 mss_now -= tp->tcp_header_len - sizeof(struct tcphdr); in tcp_sync_mss()
550 mss_now = max((tp->max_window>>1), 68U - tp->tcp_header_len); in tcp_sync_mss()
1194 tp->tcp_header_len = sizeof(struct tcphdr) + in tcp_connect_init()
1210 tp->advmss - (tp->ts_recent_stamp ? tp->tcp_header_len - sizeof(struct tcphdr) : 0), in tcp_connect_init()