Lines Matching refs:tcphdr
115 struct tcphdr tcp_savetcp;
213 u_char *, int, struct tcphdr *, struct tcpopt *, unsigned int);
215 struct tcphdr *, struct mbuf *, int);
216 static int tcp_reass(struct tcpcb *, struct tcphdr *, int *,
288 static void tcp_newreno_partial_ack(struct tcpcb *tp, struct tcphdr *th);
294 register struct tcphdr *th;
502 IP6_EXTHDR_CHECK(m, *offp, sizeof(struct tcphdr), return IPPROTO_DONE);
528 register struct tcphdr *th;
605 th = (struct tcphdr *)((caddr_t)ip6 + off0);
644 th = (struct tcphdr *)((caddr_t)ip + off0);
715 if (off < sizeof (struct tcphdr) || off > tlen) {
720 if (off > sizeof (struct tcphdr)) {
725 th = (struct tcphdr *)((caddr_t)ip6 + off0);
736 th = (struct tcphdr *)((caddr_t)ip + off0);
739 optlen = off - sizeof (struct tcphdr);
2308 (void) tcp_reass(tp, (struct tcphdr *)0, &tlen,
3157 struct tcphdr *th;
3251 struct tcphdr *th;
3436 min_protoh = isipv6 ? sizeof (struct ip6_hdr) + sizeof (struct tcphdr)
3662 min_protoh = isipv6 ? sizeof (struct ip6_hdr) + sizeof (struct tcphdr)
3711 struct tcphdr *th;