Lines Matching refs:th
97 const struct tcphdr *th) in tcp_timewait_state_process() argument
104 if (th->doff > (sizeof(*th) >> 2) && tcptw->tw_ts_recent_stamp) { in tcp_timewait_state_process()
110 paws_reject = tcp_paws_check(&tmp_opt, th->rst); in tcp_timewait_state_process()
124 if (th->rst) in tcp_timewait_state_process()
127 if (th->syn && !before(TCP_SKB_CB(skb)->seq, tcptw->tw_rcv_nxt)) in tcp_timewait_state_process()
140 if (!th->fin || in tcp_timewait_state_process()
191 (TCP_SKB_CB(skb)->seq == TCP_SKB_CB(skb)->end_seq || th->rst))) { in tcp_timewait_state_process()
194 if (th->rst) { in tcp_timewait_state_process()
235 if (th->syn && !th->rst && !th->ack && !paws_reject && in tcp_timewait_state_process()
249 if (!th->rst) { in tcp_timewait_state_process()
256 if (paws_reject || th->ack) in tcp_timewait_state_process()
498 const struct tcphdr *th = tcp_hdr(skb); in tcp_check_req() local
499 __be32 flg = tcp_flag_word(th) & (TCP_FLAG_RST|TCP_FLAG_SYN|TCP_FLAG_ACK); in tcp_check_req()
505 if (th->doff > (sizeof(struct tcphdr)>>2)) { in tcp_check_req()
515 paws_reject = tcp_paws_check(&tmp_opt, th->rst); in tcp_check_req()