Searched refs:tcp_header_len (Results 1 – 6 of 6) sorted by relevance
48 TCP_ECN_send(struct sock *sk, struct tcp_opt *tp, struct sk_buff *skb, int tcp_header_len) in TCP_ECN_send() argument52 if (skb->len != tcp_header_len && in TCP_ECN_send()
267 int tcp_header_len; /* Bytes of tcp header to send */ member
974 tp->pred_flags = htonl((tp->tcp_header_len << 26) | in __tcp_fast_path_on()
168 len -= tp->tcp_header_len; in tcp_measure_rcv_mss()4122 int tcp_header_len = tp->tcp_header_len; in tcp_rcv_established() local4130 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 …]
781 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()
201 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()