Lines Matching +full:5 +full:th
28 * | 31 ... 6 | 5 | 4 | 3 2 1 0 |
40 #define TS_OPT_ECN BIT(5)
161 u32 __cookie_v4_init_sequence(const struct iphdr *iph, const struct tcphdr *th, in __cookie_v4_init_sequence() argument
173 th->source, th->dest, ntohl(th->seq), in __cookie_v4_init_sequence()
181 const struct tcphdr *th = tcp_hdr(skb); in cookie_v4_init_sequence() local
183 return __cookie_v4_init_sequence(iph, th, mssp); in cookie_v4_init_sequence()
190 int __cookie_v4_check(const struct iphdr *iph, const struct tcphdr *th, in __cookie_v4_check() argument
193 __u32 seq = ntohl(th->seq) - 1; in __cookie_v4_check()
195 th->source, th->dest, seq); in __cookie_v4_check()
330 const struct tcphdr *th = tcp_hdr(skb); in cookie_v4_check() local
331 __u32 cookie = ntohl(th->ack_seq) - 1; in cookie_v4_check()
340 if (!sock_net(sk)->ipv4.sysctl_tcp_syncookies || !th->ack || th->rst) in cookie_v4_check()
346 mss = __cookie_v4_check(ip_hdr(skb), th, cookie); in cookie_v4_check()
375 treq->rcv_isn = ntohl(th->seq) - 1; in cookie_v4_check()
380 ireq->ir_num = ntohs(th->dest); in cookie_v4_check()
381 ireq->ir_rmt_port = th->source; in cookie_v4_check()
420 ireq->ir_loc_addr, th->source, th->dest, sk->sk_uid); in cookie_v4_check()