Searched refs:MNTNAMLEN (Results 1 – 5 of 5) sorted by relevance
/freebsd/usr.sbin/rpc.umntall/ |
H A D | mounttab.h | 29 #define STRSIZ (MNTNAMLEN+MNTPATHLEN+100) 35 char mtab_host[MNTNAMLEN];
|
H A D | mounttab.c | 125 memmove(mtabp->mtab_host, hostp, MNTNAMLEN); in read_mtab() 126 mtabp->mtab_host[MNTNAMLEN - 1] = '\0'; in read_mtab() 203 bzero(mtabp->mtab_host, MNTNAMLEN); in clean_mtab()
|
/freebsd/usr.bin/showmount/ |
H A D | showmount.c | 66 char ml_host[MNTNAMLEN+1]; 72 char gr_name[MNTNAMLEN+1]; 277 if (!xdr_string(xdrsp, &strp, MNTNAMLEN)) { in xdr_mntdump() 368 if (!xdr_string(xdrsp, &strp, MNTNAMLEN)) in xdr_exportslist()
|
/freebsd/include/rpcsvc/ |
H A D | mount.x | 37 const MNTNAMLEN = 255; /* maximum bytes in a name argument */ variable 104 typedef string name<MNTNAMLEN>; typedef
|
/freebsd/usr.sbin/mountd/ |
H A D | mountd.c | 86 char ml_host[MNTNAMLEN+1]; 1445 if (!xdr_string(xdrsp, &strp, MNTNAMLEN)) in xdr_mlist() 1535 MNTNAMLEN)) in put_exlist() 1542 MNTNAMLEN)) in put_exlist() 1646 if (len > MNTNAMLEN) { in get_exportlist_one() 3723 #define STRSIZ (MNTNAMLEN+MNTPATHLEN+50) 3752 strncpy(mlp->ml_host, host, MNTNAMLEN); in get_mountlist() 3753 mlp->ml_host[MNTNAMLEN] = '\0'; in get_mountlist() 3803 strncpy(mlp->ml_host, hostp, MNTNAMLEN); in add_mlist() 3804 mlp->ml_host[MNTNAMLEN] = '\0'; in add_mlist()
|