Lines Matching refs:thp
491 register struct tcphdr *thp; in slhc_uncompress() local
524 thp = &cs->cs_tcp; in slhc_uncompress()
527 thp->check = *(__sum16 *)cp; in slhc_uncompress()
530 thp->psh = (changes & TCP_PUSH_BIT) ? 1 : 0; in slhc_uncompress()
537 hdrlen = ip->ihl * 4 + thp->doff * 4; in slhc_uncompress()
544 thp->ack_seq = htonl( ntohl(thp->ack_seq) + i); in slhc_uncompress()
545 thp->seq = htonl( ntohl(thp->seq) + i); in slhc_uncompress()
550 thp->seq = htonl( ntohl(thp->seq) + in slhc_uncompress()
556 thp->urg = 1; in slhc_uncompress()
560 thp->urg_ptr = htons(x); in slhc_uncompress()
562 thp->urg = 0; in slhc_uncompress()
567 thp->window = htons( ntohs(thp->window) + x); in slhc_uncompress()
573 thp->ack_seq = htonl( ntohl(thp->ack_seq) + x); in slhc_uncompress()
579 thp->seq = htonl( ntohl(thp->seq) + x); in slhc_uncompress()
618 memcpy(cp, thp, 20); in slhc_uncompress()
621 if (thp->doff > 5) { in slhc_uncompress()
622 memcpy(cp, cs->cs_tcpopt, ((thp->doff) - 5) * 4); in slhc_uncompress()
623 cp += ((thp->doff) - 5) * 4; in slhc_uncompress()