Home
last modified time | relevance | path

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

/linux-2.4.37.9/net/ipv4/
Dtcp_output.c201 int tcp_header_size = tp->tcp_header_len; in tcp_transmit_skb() local
212 tcp_header_size = sizeof(struct tcphdr) + TCPOLEN_MSS; in tcp_transmit_skb()
214 tcp_header_size += TCPOLEN_TSTAMP_ALIGNED; in tcp_transmit_skb()
218 tcp_header_size += TCPOLEN_WSCALE_ALIGNED; in tcp_transmit_skb()
224 tcp_header_size += TCPOLEN_SACKPERM_ALIGNED; in tcp_transmit_skb()
230 tcp_header_size += (TCPOLEN_SACK_BASE_ALIGNED + in tcp_transmit_skb()
246 th = (struct tcphdr *) skb_push(skb, tcp_header_size); in tcp_transmit_skb()
255 *(((__u16 *)th) + 6) = htons(((tcp_header_size >> 2) << 12) | tcb->flags); in tcp_transmit_skb()
286 TCP_ECN_send(sk, tp, skb, tcp_header_size); in tcp_transmit_skb()
293 if (skb->len != tcp_header_size) in tcp_transmit_skb()
[all …]