Lines Matching +full:5 +full:th
26 * | 31 ... 6 | 5 | 4 | 3 2 1 0 |
38 #define TS_OPT_ECN BIT(5)
154 u32 __cookie_v4_init_sequence(const struct iphdr *iph, const struct tcphdr *th, in __cookie_v4_init_sequence() argument
166 th->source, th->dest, ntohl(th->seq), in __cookie_v4_init_sequence()
174 const struct tcphdr *th = tcp_hdr(skb); in cookie_v4_init_sequence() local
176 return __cookie_v4_init_sequence(iph, th, mssp); in cookie_v4_init_sequence()
183 int __cookie_v4_check(const struct iphdr *iph, const struct tcphdr *th) in __cookie_v4_check() argument
185 __u32 cookie = ntohl(th->ack_seq) - 1; in __cookie_v4_check()
186 __u32 seq = ntohl(th->seq) - 1; in __cookie_v4_check()
190 th->source, th->dest, seq); in __cookie_v4_check()
269 const struct tcphdr *th = tcp_hdr(skb); in cookie_tcp_reqsk_init() local
273 ireq->ir_num = ntohs(th->dest); in cookie_tcp_reqsk_init()
274 ireq->ir_rmt_port = th->source; in cookie_tcp_reqsk_init()
284 treq->rcv_isn = ntohl(th->seq) - 1; in cookie_tcp_reqsk_init()
285 treq->snt_isn = ntohl(th->ack_seq) - 1; in cookie_tcp_reqsk_init()
401 const struct tcphdr *th = tcp_hdr(skb); in cookie_v4_check() local
414 !th->ack || th->rst) in cookie_v4_check()
456 ireq->ir_loc_addr, th->source, th->dest, sk->sk_uid); in cookie_v4_check()