Lines Matching full:th
155 u32 __cookie_v4_init_sequence(const struct iphdr *iph, const struct tcphdr *th, in __cookie_v4_init_sequence() argument
167 th->source, th->dest, ntohl(th->seq), in __cookie_v4_init_sequence()
175 const struct tcphdr *th = tcp_hdr(skb); in cookie_v4_init_sequence() local
177 return __cookie_v4_init_sequence(iph, th, mssp); in cookie_v4_init_sequence()
184 int __cookie_v4_check(const struct iphdr *iph, const struct tcphdr *th) in __cookie_v4_check() argument
186 __u32 cookie = ntohl(th->ack_seq) - 1; in __cookie_v4_check()
187 __u32 seq = ntohl(th->seq) - 1; in __cookie_v4_check()
191 th->source, th->dest, seq); in __cookie_v4_check()
270 const struct tcphdr *th = tcp_hdr(skb); in cookie_tcp_reqsk_init() local
274 ireq->ir_num = ntohs(th->dest); in cookie_tcp_reqsk_init()
275 ireq->ir_rmt_port = th->source; in cookie_tcp_reqsk_init()
286 treq->rcv_isn = ntohl(th->seq) - 1; in cookie_tcp_reqsk_init()
287 treq->snt_isn = ntohl(th->ack_seq) - 1; in cookie_tcp_reqsk_init()
408 const struct tcphdr *th = tcp_hdr(skb); in cookie_v4_check() local
422 !th->ack || th->rst) in cookie_v4_check()
465 ireq->ir_loc_addr, th->source, th->dest, in cookie_v4_check()
494 treq->accecn_ok = ireq->ecn_ok && cookie_accecn_ok(th); in cookie_v4_check()