Lines Matching defs:th
102 const struct tcphdr *th;
111 th = skb_header_pointer(skb, iphoff + ih->ihl * 4,
113 if (th == NULL) {
121 ntohs(th->source), ntohs(th->dest));
125 ntohl(th->seq), ntohl(th->ack_seq));
127 printk("WINDOW=%u ", ntohs(th->window));
129 printk("RES=0x%02x ", (u8)(ntohl(tcp_flag_word(th) & TCP_RESERVED_BITS) >> 22));
131 if (th->cwr)
133 if (th->ece)
135 if (th->urg)
137 if (th->ack)
139 if (th->psh)
141 if (th->rst)
143 if (th->syn)
145 if (th->fin)
148 printk("URGP=%u ", ntohs(th->urg_ptr));
151 th->doff * 4 > sizeof(struct tcphdr)) {
156 optsize = th->doff * 4 - sizeof(struct tcphdr);