Lines Matching defs:hp
542 struct jheader *hp;
557 while (up->ssize > (int)sizeof(*hp) && (cc = jupiter_recv(up)) > 0) {
558 hp = (struct jheader *)up->sbuf;
559 sp = (u_short *)(hp + 1);
560 size = cc - sizeof(*hp);
561 switch (getshort(hp->id)) {
644 getshort(hp->id));
797 struct jheader * hp
805 size = sizeof(*hp);
806 hp->hsum = putshort(jupiter_cksum((u_short *)hp,
808 len = getshort(hp->len);
810 sp = (u_short *)(hp + 1);
815 if ((cc = write(up->peer->procptr->io.fd, (char *)hp, size)) < 0) {
845 struct jheader *hp;
849 hp = &reqmsg.jheader;
850 hp->id = putshort(id);
854 if ((cp = jupiter_send(up, hp)) != NULL)
871 struct jheader *hp;
874 hp = &canmsg;
875 hp->id = putshort(id);
876 if ((cp = jupiter_send(up, hp)) != NULL)
893 struct jheader *hp;
896 hp = &reqonemsg;
897 hp->id = putshort(id);
898 if ((cp = jupiter_send(up, hp)) != NULL)
919 struct jheader *hp;
923 hp = &platmsg.jheader;
926 if ((cp = jupiter_send(up, hp)) != NULL)
951 struct jheader *hp;
956 cc = sizeof(*hp);
963 hp = (struct jheader *)sp;
964 if (getshort(hp->sync) != JUPITER_SYNC) {
996 if (size < cc || hp->sync != JUPITER_SYNC)
1001 getshort(hp->hsum)) {
1009 len = getshort(hp->len);
1017 sp = (u_short *)(hp + 1);