Lines Matching refs:thp
489 register struct tcphdr *thp; in slhc_uncompress() local
522 thp = &cs->cs_tcp; in slhc_uncompress()
525 thp->check = *(__sum16 *)cp; in slhc_uncompress()
528 thp->psh = (changes & TCP_PUSH_BIT) ? 1 : 0; in slhc_uncompress()
535 hdrlen = ip->ihl * 4 + thp->doff * 4; in slhc_uncompress()
542 thp->ack_seq = htonl( ntohl(thp->ack_seq) + i); in slhc_uncompress()
543 thp->seq = htonl( ntohl(thp->seq) + i); in slhc_uncompress()
548 thp->seq = htonl( ntohl(thp->seq) + in slhc_uncompress()
554 thp->urg = 1; in slhc_uncompress()
558 thp->urg_ptr = htons(x); in slhc_uncompress()
560 thp->urg = 0; in slhc_uncompress()
565 thp->window = htons( ntohs(thp->window) + x); in slhc_uncompress()
571 thp->ack_seq = htonl( ntohl(thp->ack_seq) + x); in slhc_uncompress()
577 thp->seq = htonl( ntohl(thp->seq) + x); in slhc_uncompress()
616 memcpy(cp, thp, 20); in slhc_uncompress()
619 if (thp->doff > 5) { in slhc_uncompress()
620 memcpy(cp, cs->cs_tcpopt, ((thp->doff) - 5) * 4); in slhc_uncompress()
621 cp += ((thp->doff) - 5) * 4; in slhc_uncompress()