Lines Matching refs:th
101 const struct tcphdr *th) in tcp_timewait_state_process() argument
108 if (th->doff > (sizeof(*th) >> 2) && tcptw->tw_ts_recent_stamp) { in tcp_timewait_state_process()
115 paws_reject = tcp_paws_reject(&tmp_opt, th->rst); in tcp_timewait_state_process()
130 if (th->rst) in tcp_timewait_state_process()
133 if (th->syn && !before(TCP_SKB_CB(skb)->seq, tcptw->tw_rcv_nxt)) in tcp_timewait_state_process()
137 if (!th->ack || in tcp_timewait_state_process()
147 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()
234 if (th->syn && !th->rst && !th->ack && !paws_reject && in tcp_timewait_state_process()
248 if (!th->rst) { in tcp_timewait_state_process()
255 if (paws_reject || th->ack) in tcp_timewait_state_process()
564 const struct tcphdr *th = tcp_hdr(skb); in tcp_check_req() local
565 __be32 flg = tcp_flag_word(th) & (TCP_FLAG_RST|TCP_FLAG_SYN|TCP_FLAG_ACK); in tcp_check_req()
571 if (th->doff > (sizeof(struct tcphdr)>>2)) { in tcp_check_req()
581 paws_reject = tcp_paws_reject(&tmp_opt, th->rst); in tcp_check_req()