Lines Matching refs:pkt
80 KTEXT pkt = &pkt_st; /* Packet to KDC */
85 unsigned char *v = pkt->dat; /* Prot vers no */
86 unsigned char *t = (pkt->dat+1); /* Prot msg type */
101 (void) strcpy((char *)(pkt->dat+2),user); /* aname */
102 pkt->length = 3 + strlen(user);
103 (void) strcpy((char *)(pkt->dat+pkt->length),
105 pkt->length += 1 + strlen(instance);
106 (void) strcpy((char *)(pkt->dat+pkt->length),realm); /* realm */
107 pkt->length += 1 + strlen(realm);
111 memcpy((pkt->dat+pkt->length), &(t_local.tv_sec), 4);
112 pkt->length += 4;
114 *(pkt->dat+(pkt->length)++) = (char) life;
115 (void) strcpy((char *)(pkt->dat+pkt->length),service);
116 pkt->length += 1 + strlen(service);
117 (void) strcpy((char *)(pkt->dat+pkt->length),sinstance);
118 pkt->length += 1 + strlen(sinstance);
124 if (kerror = send_to_kdc(pkt, rpkt, realm)) return(kerror);