Lines Matching refs:th
130 const struct tcphdr *th = tcp_hdr(skb); in cookie_v6_init_sequence() local
142 return secure_tcp_syn_cookie(&iph->saddr, &iph->daddr, th->source, in cookie_v6_init_sequence()
143 th->dest, ntohl(th->seq), in cookie_v6_init_sequence()
150 const struct tcphdr *th = tcp_hdr(skb); in cookie_check() local
151 __u32 seq = ntohl(th->seq) - 1; in cookie_check()
153 th->source, th->dest, seq, in cookie_check()
166 const struct tcphdr *th = tcp_hdr(skb); in cookie_v6_check() local
167 __u32 cookie = ntohl(th->ack_seq) - 1; in cookie_v6_check()
175 if (!sysctl_tcp_syncookies || !th->ack) in cookie_v6_check()
206 ireq->rmt_port = th->source; in cookie_v6_check()
207 ireq->loc_port = th->dest; in cookie_v6_check()
232 treq->rcv_isn = ntohl(th->seq) - 1; in cookie_v6_check()