Home | History | Annotate | Download | only in npf

Lines Matching defs:th

98 	struct tcphdr *oth, *th;
147 th = (struct tcphdr *)(ip + 1);
162 th = (struct tcphdr *)(ip6 + 1);
168 th->th_sport = oth->th_dport;
169 th->th_dport = oth->th_sport;
170 th->th_seq = htonl(ack);
174 th->th_ack = htonl(seq + tcpdlen);
175 th->th_off = sizeof(struct tcphdr) >> 2;
176 th->th_flags = TH_ACK | TH_RST;
179 th->th_sum = in_cksum(m, len);
191 th->th_sum = in6_cksum(m, IPPROTO_TCP, sizeof(struct ip6_hdr),