Lines Matching defs:th
155 u32 __cookie_v4_init_sequence(const struct iphdr *iph, const struct tcphdr *th,
167 th->source, th->dest, ntohl(th->seq),
175 const struct tcphdr *th = tcp_hdr(skb);
177 return __cookie_v4_init_sequence(iph, th, mssp);
184 int __cookie_v4_check(const struct iphdr *iph, const struct tcphdr *th)
186 __u32 cookie = ntohl(th->ack_seq) - 1;
187 __u32 seq = ntohl(th->seq) - 1;
191 th->source, th->dest, seq);
270 const struct tcphdr *th = tcp_hdr(skb);
274 ireq->ir_num = ntohs(th->dest);
275 ireq->ir_rmt_port = th->source;
286 treq->rcv_isn = ntohl(th->seq) - 1;
287 treq->snt_isn = ntohl(th->ack_seq) - 1;
403 const struct tcphdr *th = tcp_hdr(skb);
417 !th->ack || th->rst)
460 ireq->ir_loc_addr, th->source, th->dest,
489 treq->accecn_ok = ireq->ecn_ok && cookie_accecn_ok(th);