Lines Matching defs:sp
528 u_short *sp;
558 sp = (u_short *)(hp + 1);
582 instance->stime = DS2UI(((struct jpulse *)sp)->stime);
604 if ((cp = jupiter_parse_t(instance, sp)) != NULL) {
662 if ((cp = jupiter_parse_gpos(instance, sp)) != NULL) {
681 ip = (struct jid *)sp;
716 jupiter_parse_t(struct instance *instance, u_short *sp)
725 jp = (struct jpulse *)sp;
838 jupiter_parse_gpos(struct instance *instance, u_short *sp)
845 jg = (struct jgpos *)sp;
918 u_short *sp;
926 sp = (u_short *)(hp + 1);
927 sp[len] = putshort(jupiter_cksum(sp, len));
1036 jupiter_cksum(u_short *sp, u_int len)
1042 x = *sp++;
1055 u_short *sp;
1064 sp = instance->sbuf;
1065 hp = (struct jheader *)sp;
1069 bp = (u_char *)sp;
1095 memcpy(sp, bp, n);
1102 if (jupiter_cksum(sp, (cc / sizeof(u_short) - 1)) !=
1119 sp = (u_short *)(hp + 1);
1120 if (jupiter_cksum(sp, len) != getshort(sp[len])) {