Home
last modified time | relevance | path

Searched refs:chosts (Results 1 – 4 of 4) sorted by relevance

/src/contrib/ntp/ntpq/
H A Dntpq.h127 extern chost chosts[];
H A Dntpq.c411 chost chosts[MAXHOSTS]; variable
415 chosts[numhosts].name = (cp); \
416 chosts[numhosts].fam = ai_fam_templ; \
634 if (openhost(chosts[ihost].name, chosts[ihost].fam)) { in ntpqmain()
650 (void) openhost(chosts[0].name, chosts[0].fam); in ntpqmain()
H A Dntpq-subs.c2036 if (getnetnum(chosts[u].name, &netnum, fullname, af)) { in dopeers()
2091 if (getnetnum(chosts[u].name, &netnum, fullname, af)) { in doapeers()
2214 if (getnetnum(chosts[i].name, &netnum, fullname, af)) { in doopeers()
/src/contrib/ntp/ntpdc/
H A Dntpdc.c212 static const char *chosts[MAXHOSTS]; variable
213 #define ADDHOST(cp) if (numhosts < MAXHOSTS) chosts[numhosts++] = (cp)
376 (void) openhost(chosts[0]); in ntpdcmain()
383 if (openhost(chosts[ihost])) in ntpdcmain()
386 printf ("--- %s ---\n",chosts[ihost]); in ntpdcmain()