Home
last modified time | relevance | path

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

/illumos-gate/usr/src/cmd/last/
H A Dlast.c67 #define HMAX (sizeof (((struct utmpx *)0)->ut_host)) macro
78 #define hosteq(a, b) (strncmp(a, b, HMAX) == 0)
80 (lineq(a, b)&&hosteq(a+LMAX+1, c)&&nameq(a+LMAX+HMAX+2, d))
108 static char hostf[HMAX + 1];
283 ut_host, HMAX+1); in main()
284 (void) strlcpy(ttnames[i]+LMAX+HMAX+2, in main()
489 ttnames[i] = (char *)malloc(LMAX + HMAX + NMAX + 3); in memory_alloc()
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/
H A Dfinger.c118 #define HMAX sizeof (((struct utmpx *)0)->ut_host) macro
123 char host[HMAX+1]; /* null terminated remote host name */
297 bcopy(u->ut_host, p->host, HMAX); in doall()
298 p->host[HMAX] = 0; in doall()
418 bcopy(u->ut_host, p->host, HMAX); in donames()
419 p->host[HMAX] = 0; in donames()
428 bcopy(u->ut_host, new->host, HMAX); in donames()
429 new->host[HMAX] = 0; in donames()
756 h_max = min(HMAX, sizeof (ll.ll_host)); in findwhen()
/illumos-gate/usr/src/cmd/login/
H A Dlogin.c155 #define HMAX sizeof (((struct utmpx *)0)->ut_host) macro
266 static char remote_host[HMAX];
616 ttyn, HMAX, remote_host); in main()
750 "%.*s", ttyn, HMAX, remote_host, in log_bad_attempts()
761 ttyn, HMAX, remote_host); in log_bad_attempts()
1749 " %.*s", ttyn, HMAX, in chdir_to_dir_user()
1872 ttyn, HMAX, remote_host, NMAX, in login_authenticate()
1885 ttyn, HMAX, remote_host); in login_authenticate()
/illumos-gate/usr/src/cmd/rpcsvc/
H A Drusers.c52 #define HMAX 16 /* "Logged in" host name. */ macro
592 (void) printf(" (%.*s)", HMAX, rup->ut_host); in putline_3()