PR
PR(" \\\n");
PR(" \\ \\ \\\n");
PR(" \\ \\ \\ \\ \\_____________\n");
PR(" \\ \\ \\_____________ \\ \\/ |\n");
PR(" \\ \\/ \\ \\/ |\n");
PR(" \\/ \\_____/ |__\n");
PR(" ________________/ |\n");
PR(" \\ S.S. Penguin |\n");
PR(" \\ /\n");
PR(" \\___________________________________________________/\n");
switch(aif->data.PR[0].status) {
aif->data.PR[0].currentTick,
aif->data.PR[0].finalTick);
switch(aif->data.PR[0].jd.type) {
aif->data.PR[0].jd.client.scsi_dh);
aif->data.PR[0].jd.client.scsi_dh);
aif->data.PR[0].jd.client.scsi_dh);
aif->data.PR[0].jd.client.scsi_dh);
aif->data.PR[0].jd.client.container.src);
aif->data.PR[0].jd.client.container.src,
aif->data.PR[0].jd.client.container.dst);
aif->data.PR[0].jd.client.container.src);
aif->data.PR[0].jd.client.container.src);
aif->data.PR[0].jd.client.container.src);
aif->data.PR[0].jd.client.container.src);
aif->data.PR[0].jd.client.container.src);
aif->data.PR[0].jd.client.container.src);
aif->data.PR[0].jd.client.container.src,
aif->data.PR[0].jd.client.container.dst);
aif->data.PR[0].jd.client.container.src);
aif->data.PR[0].jd.client.container.src);
aif->data.PR[0].jd.type);
struct aac_AifJobProgressReport PR[1]; /* Progress report */
conv_c(PR *pr, u_char *p)
conv_u(PR *pr, u_char *p)
PR *pr;
bpad(PR *pr)
static __inline void print(PR *, u_char *);
print(PR *pr, u_char *bp)
void bpad(PR *);
void conv_c(PR *, u_char *);
void conv_u(PR *, u_char *);
PR *pr, **nextpr = NULL;
if ((pr = calloc(1, sizeof(PR))) == NULL)
if (PR != NULL)
vstring("pr", PR);
&AT, &DV, &CM, &CU, &EL, &IE, &OE, &PN, &PR, &DI,
EXTERN char *PR; /* remote prompt */
{ "abort", aborthelp, PR, 0, abort_q },
{ "bottomq", botmqhelp, PR, bottomq_cmd, 0 },
{ "clean", cleanhelp, PR, clean_gi, clean_q },
{ "enable", enablehelp, PR, 0, enable_q },
{ "disable", disablehelp, PR, 0, disable_q },
{ "down", downhelp, PR|M, down_gi, down_q },
{ "start", starthelp, PR, 0, start_q },
{ "setstatus", setstatushelp, PR|M, setstatus_gi, setstatus_q },
{ "stop", stophelp, PR, 0, stop_q },
{ "topq", topqhelp, PR, topq_cmd, 0 },
{ "up", uphelp, PR, 0, up_q },
{ "xtopq", topqhelp, PR, topq, 0 },
for (i = 0; i < PRLSTSIZ && PR.if_index ; i++) {
p6 = PR.prefix;
p6.sin6_addr = PR.prefix;
printf("%s/%d if=%s\n", namebuf, PR.prefixlen,
if_indextoname(PR.if_index, ifix_buf));
PR.origin == PR_ORIG_RA ? "" : "advertise: ");
PR.raflags.onlink ? "L" : "",
PR.raflags.autonomous ? "A" : "",
(PR.flags & NDPRF_ONLINK) != 0 ? "O" : "",
(PR.flags & NDPRF_DETACHED) != 0 ? "D" : "",
(PR.flags & NDPRF_HOME) != 0 ? "H" : ""
PR.raflags.onlink ? "L" : "",
PR.raflags.autonomous ? "A" : "");
if (PR.vltime == ND6_INFINITE_LIFETIME)
printf(" vltime=%ld", (long)PR.vltime);
if (PR.pltime == ND6_INFINITE_LIFETIME)
printf(", pltime=%ld", (long)PR.pltime);
if (PR.expire == 0)
else if (PR.expire >= time.tv_sec)
sec2str(PR.expire - time.tv_sec));
printf(", ref=%d", PR.refcnt);
switch (PR.origin) {
PR.origin != PR_ORIG_RA)
else if (PR.advrtrs) {
for (j = 0; j < PR.advrtrs; j++) {
sin6.sin6_addr = PR.advrtr[j];
sin6.sin6_scope_id = PR.if_index; /* XXX */
nbi = getnbrinfo(&sin6.sin6_addr, PR.if_index,
if (PR.advrtrs > DRLSTSIZ)
PR.advrtrs - DRLSTSIZ);