Lines Matching refs:th
118 const struct tcphdr *th, __u16 *mssp) in __cookie_v6_init_sequence() argument
129 return secure_tcp_syn_cookie(&iph->saddr, &iph->daddr, th->source, in __cookie_v6_init_sequence()
130 th->dest, ntohl(th->seq), mssind); in __cookie_v6_init_sequence()
137 const struct tcphdr *th = tcp_hdr(skb); in cookie_v6_init_sequence() local
142 return __cookie_v6_init_sequence(iph, th, mssp); in cookie_v6_init_sequence()
145 int __cookie_v6_check(const struct ipv6hdr *iph, const struct tcphdr *th, in __cookie_v6_check() argument
148 __u32 seq = ntohl(th->seq) - 1; in __cookie_v6_check()
150 th->source, th->dest, seq); in __cookie_v6_check()
163 const struct tcphdr *th = tcp_hdr(skb); in cookie_v6_check() local
164 __u32 cookie = ntohl(th->ack_seq) - 1; in cookie_v6_check()
171 if (!sysctl_tcp_syncookies || !th->ack || th->rst) in cookie_v6_check()
177 mss = __cookie_v6_check(ipv6_hdr(skb), th, cookie); in cookie_v6_check()
205 ireq->ir_rmt_port = th->source; in cookie_v6_check()
206 ireq->ir_num = ntohs(th->dest); in cookie_v6_check()
231 treq->rcv_isn = ntohl(th->seq) - 1; in cookie_v6_check()