Lines Matching refs:entbuf

71 static char entbuf[10 + 3 + NI_MAXHOST + 1];
512 makeentry(entbuf, sizeof(entbuf), i, "addr");
513 addr = (char *)agetstr(entbuf, &bp);
541 makeentry(entbuf, sizeof(entbuf), i, "prefixlen");
542 MAYHAVE(val, entbuf, 64);
551 makeentry(entbuf, sizeof(entbuf), i, "pinfoflags");
552 if ((flagstr = (char *)agetstr(entbuf, &bp))) {
559 MAYHAVE(val, entbuf,
565 makeentry(entbuf, sizeof(entbuf), i, "vltime");
566 MAYHAVE(val64, entbuf, DEF_ADVVALIDLIFETIME);
576 makeentry(entbuf, sizeof(entbuf), i, "vltimedecr");
577 if (agetflag(entbuf)) {
585 makeentry(entbuf, sizeof(entbuf), i, "pltime");
586 MAYHAVE(val64, entbuf, DEF_ADVPREFERREDLIFETIME);
597 makeentry(entbuf, sizeof(entbuf), i, "pltimedecr");
598 if (agetflag(entbuf)) {
673 makeentry(entbuf, sizeof(entbuf), i, "rtprefix");
674 addr = (char *)agetstr(entbuf, &bp);
680 oentbuf, entbuf);
700 MAYHAVE(val64, entbuf, DEF_ADVVALIDLIFETIME);
717 makeentry(entbuf, sizeof(entbuf), i, "rtplen");
719 MAYHAVE(val, entbuf, 256);
725 oentbuf, entbuf);
737 makeentry(entbuf, sizeof(entbuf), i, "rtflags");
738 if ((flagstr = (char *)agetstr(entbuf, &bp))) {
753 MAYHAVE(val, entbuf, 256); /* XXX */
759 oentbuf, entbuf);
778 makeentry(entbuf, sizeof(entbuf), i, "rtltime");
779 MAYHAVE(val64, entbuf, -1);
785 oentbuf, entbuf);
788 "for interface %s.\n", entbuf,
817 makeentry(entbuf, sizeof(entbuf), i, "rdnss");
818 addr = (char *)agetstr(entbuf, &bp);
839 makeentry(entbuf, sizeof(entbuf), i, "rdnssltime");
840 MAYHAVE(val, entbuf, (rai->rai_maxinterval * 3 / 2));
845 entbuf, val, ifi->ifi_ifname, rai->rai_maxinterval,
868 makeentry(entbuf, sizeof(entbuf), i, "dnssl");
869 addr = (char *)agetstr(entbuf, &bp);
893 makeentry(entbuf, sizeof(entbuf), i, "dnsslltime");
894 MAYHAVE(val, entbuf, (rai->rai_maxinterval * 3 / 2));
899 entbuf, val, ifi->ifi_ifname, rai->rai_maxinterval,