Lines Matching defs:ak
83 register struct admack *ak = &ack; /* and a pointer to it */
118 ak->ak_pid = ap->ac_pid;
119 ak->ak_resp = AK_NOPM;
120 ak->ak_size = 0;
121 sendack(ak);
126 ak->ak_pid = ap->ac_pid;
127 ak->ak_resp = AK_RECOVER;
128 ak->ak_size = 0;
129 sendack(ak);
135 ak->ak_pid = ap->ac_pid;
137 ak->ak_resp = AK_PMLOCK;
139 ak->ak_resp = AK_REQFAIL;
140 ak->ak_size = 0;
141 sendack(ak);
144 ak->ak_pid = ap->ac_pid;
145 ak->ak_resp = AK_ACK;
146 ak->ak_size = 0;
147 sendack(ak);
153 ak->ak_pid = ap->ac_pid;
154 ak->ak_resp = AK_PMRUN;
155 ak->ak_size = 0;
156 sendack(ak);
171 ak->ak_pid = ap->ac_pid;
172 ak->ak_resp = AK_NOPM;
173 ak->ak_size = 0;
174 sendack(ak);
179 ak->ak_pid = ap->ac_pid;
180 ak->ak_resp = AK_RECOVER;
181 ak->ak_size = 0;
182 sendack(ak);
187 ak->ak_pid = ap->ac_pid;
188 ak->ak_resp = AK_PMNOTRUN;
189 ak->ak_size = 0;
190 sendack(ak);
203 ak->ak_pid = ap->ac_pid;
204 ak->ak_resp = AK_NOCONTACT;
205 ak->ak_size = 0;
206 sendack(ak);
214 ak->ak_pid = ap->ac_pid;
215 ak->ak_resp = AK_ACK;
216 ak->ak_size = 0;
217 sendack(ak);
235 ak->ak_pid = ap->ac_pid;
236 ak->ak_resp = AK_NOPM;
237 ak->ak_size = 0;
238 sendack(ak);
243 ak->ak_pid = ap->ac_pid;
244 ak->ak_resp = AK_RECOVER;
245 ak->ak_size = 0;
246 sendack(ak);
251 ak->ak_pid = ap->ac_pid;
252 ak->ak_resp = AK_PMNOTRUN;
253 ak->ak_size = 0;
254 sendack(ak);
263 ak->ak_pid = ap->ac_pid;
264 ak->ak_resp = AK_ACK;
265 ak->ak_size = 0;
266 sendack(ak);
269 ak->ak_pid = ap->ac_pid;
270 ak->ak_resp = AK_ACK;
271 ak->ak_size = 0;
272 sendack(ak);
287 ak->ak_pid = ap->ac_pid;
288 ak->ak_resp = AK_NOPM;
289 ak->ak_size = 0;
290 sendack(ak);
295 ak->ak_pid = ap->ac_pid;
296 ak->ak_resp = AK_RECOVER;
297 ak->ak_size = 0;
298 sendack(ak);
303 ak->ak_pid = ap->ac_pid;
304 ak->ak_resp = AK_PMNOTRUN;
305 ak->ak_size = 0;
306 sendack(ak);
315 ak->ak_pid = ap->ac_pid;
316 ak->ak_resp = AK_ACK;
317 ak->ak_size = 0;
318 sendack(ak);
321 ak->ak_pid = ap->ac_pid;
322 ak->ak_resp = AK_ACK;
323 ak->ak_size = 0;
324 sendack(ak);
341 ak->ak_pid = ap->ac_pid;
342 ak->ak_resp = AK_REQFAIL;
343 ak->ak_size = 0;
344 sendack(ak);
348 ak->ak_size = 0;
350 ak->ak_size += strlen(data[i]);
352 (void) sprintf(Scratch, "ak_size is %d", ak->ak_size);
356 if ((p = malloc((unsigned) (ak->ak_size + 1))) == NULL) {
361 ak->ak_pid = ap->ac_pid;
362 ak->ak_resp = AK_REQFAIL;
363 ak->ak_size = 0;
364 sendack(ak);
378 /* ak->ak_size was set above */
379 ak->ak_pid = ap->ac_pid;
380 ak->ak_resp = AK_ACK;
381 sendack(ak);
382 if (ak->ak_size)
383 if (write(Cfd, p, (unsigned) ak->ak_size) != ak->ak_size)
396 ak->ak_pid = ap->ac_pid;
397 ak->ak_resp = AK_ACK;
398 ak->ak_size = 0;
400 sendack(ak);
413 ak->ak_pid = ap->ac_pid;
414 ak->ak_resp = AK_NOPM;
415 ak->ak_size = 0;
416 sendack(ak);
421 ak->ak_pid = ap->ac_pid;
422 ak->ak_resp = AK_RECOVER;
423 ak->ak_size = 0;
424 sendack(ak);
429 ak->ak_pid = ap->ac_pid;
430 ak->ak_resp = AK_PMNOTRUN;
431 ak->ak_size = 0;
432 sendack(ak);
440 ak->ak_pid = ap->ac_pid;
441 ak->ak_resp = AK_ACK;
442 ak->ak_size = 0;
443 sendack(ak);
454 ak->ak_pid = ap->ac_pid;
455 ak->ak_resp = AK_UNKNOWN;
456 ak->ak_size = 0;
457 sendack(ak);