Searched refs:ml_host (Results 1 - 2 of 2) sorted by relevance
/freebsd-12-stable/usr.bin/showmount/ |
H A D | showmount.c | 80 char ml_host[MNTNAMLEN+1]; member in struct:mountlist 290 strp = mp->ml_host; 310 val = strcmp(mp->ml_host, tp->ml_host); 417 printf("%s:%s\n", mp->ml_host, mp->ml_dirp); 423 printf("%s\n", mp->ml_host);
|
/freebsd-12-stable/usr.sbin/mountd/ |
H A D | mountd.c | 98 char ml_host[MNTNAMLEN+1]; member in struct:mountlist 1406 strp = &mlp->ml_host[0]; 3609 strncpy(mlp->ml_host, host, MNTNAMLEN); 3610 mlp->ml_host[MNTNAMLEN] = '\0'; 3627 if (!strcmp(mlp->ml_host, hostp) && 3640 fprintf(mlfile, "%s %s\n", mlp->ml_host, mlp->ml_dirp); 3653 if (!strcmp(mlp->ml_host, hostp) && !strcmp(mlp->ml_dirp, dirp)) 3660 strncpy(mlp->ml_host, hostp, MNTNAMLEN); 3661 mlp->ml_host[MNTNAMLEN] = '\0'; 3669 fprintf(mlfile, "%s %s\n", mlp->ml_host, ml [all...] |
Completed in 118 milliseconds