Lines Matching refs:tcphdr

156 		if (len >= TCP_MIN_RCVMSS + sizeof(struct tcphdr) ||  in tcp_measure_rcv_mss()
162 (len >= TCP_MIN_MSS + sizeof(struct tcphdr) && in tcp_measure_rcv_mss()
2874 struct tcphdr *th = skb->h.th; in tcp_parse_options()
2875 int length=(th->doff*4)-sizeof(struct tcphdr); in tcp_parse_options()
2956 static __inline__ int tcp_fast_parse_options(struct sk_buff *skb, struct tcphdr *th, struct tcp_opt… in tcp_fast_parse_options()
2958 if (th->doff == sizeof(struct tcphdr)>>2) { in tcp_fast_parse_options()
2962 th->doff == (sizeof(struct tcphdr)>>2)+(TCPOLEN_TSTAMP_ALIGNED>>2)) { in tcp_fast_parse_options()
3027 struct tcphdr *th = skb->h.th; in tcp_disordered_ack()
3107 static void tcp_fin(struct sk_buff *skb, struct sock *sk, struct tcphdr *th) in tcp_fin()
3402 struct tcphdr *th = skb->h.th; in tcp_data_queue()
3926 static void tcp_check_urg(struct sock * sk, struct tcphdr * th) in tcp_check_urg()
3999 static inline void tcp_urg(struct sock *sk, struct sk_buff *skb, struct tcphdr *th) in tcp_urg()
4090 struct tcphdr *th, unsigned len) in tcp_rcv_established()
4130 if (tcp_header_len == sizeof(struct tcphdr) + TCPOLEN_TSTAMP_ALIGNED) { in tcp_rcv_established()
4163 (sizeof(struct tcphdr) + TCPOLEN_TSTAMP_ALIGNED) && in tcp_rcv_established()
4195 (sizeof(struct tcphdr) + in tcp_rcv_established()
4217 (sizeof(struct tcphdr) + TCPOLEN_TSTAMP_ALIGNED) && in tcp_rcv_established()
4331 struct tcphdr *th, unsigned len) in tcp_rcv_synsent_state_process()
4414 sizeof(struct tcphdr) + TCPOLEN_TSTAMP_ALIGNED; in tcp_rcv_synsent_state_process()
4418 tp->tcp_header_len = sizeof(struct tcphdr); in tcp_rcv_synsent_state_process()
4500 sizeof(struct tcphdr) + TCPOLEN_TSTAMP_ALIGNED; in tcp_rcv_synsent_state_process()
4502 tp->tcp_header_len = sizeof(struct tcphdr); in tcp_rcv_synsent_state_process()
4559 struct tcphdr *th, unsigned len) in tcp_rcv_state_process()