Lines Matching refs:thp
497 struct tcphdr *thp; in slhc_uncompress() local
534 thp = &cs->cs_tcp; in slhc_uncompress()
537 thp->check = *(__sum16 *)cp; in slhc_uncompress()
540 thp->psh = (changes & TCP_PUSH_BIT) ? 1 : 0; in slhc_uncompress()
547 hdrlen = ip->ihl * 4 + thp->doff * 4; in slhc_uncompress()
554 thp->ack_seq = htonl( ntohl(thp->ack_seq) + i); in slhc_uncompress()
555 thp->seq = htonl( ntohl(thp->seq) + i); in slhc_uncompress()
560 thp->seq = htonl( ntohl(thp->seq) + in slhc_uncompress()
566 thp->urg = 1; in slhc_uncompress()
570 thp->urg_ptr = htons(x); in slhc_uncompress()
572 thp->urg = 0; in slhc_uncompress()
577 thp->window = htons( ntohs(thp->window) + x); in slhc_uncompress()
583 thp->ack_seq = htonl( ntohl(thp->ack_seq) + x); in slhc_uncompress()
589 thp->seq = htonl( ntohl(thp->seq) + x); in slhc_uncompress()
628 memcpy(cp, thp, 20); in slhc_uncompress()
631 if (thp->doff > 5) { in slhc_uncompress()
632 memcpy(cp, cs->cs_tcpopt, ((thp->doff) - 5) * 4); in slhc_uncompress()
633 cp += ((thp->doff) - 5) * 4; in slhc_uncompress()