Searched refs:if_names (Results 1 - 5 of 5) sorted by relevance

/illumos-gate/usr/src/lib/smbsrv/libsmb/common/
H A Dsmb_nic.c90 char *if_names[SMB_NIC_MAXIFS]; member in struct:smb_hostifs
318 * list (if_names). This function can be called as many times as needed,
326 * if_num: number of interface names in if_names arg
327 * if_names: array of interface names in string format
333 int if_num, const char **if_names)
340 if ((host == NULL) || (if_num <= 0) || (if_names == NULL))
349 ifname = (char *)if_names[i];
360 ifname += snprintf(ifname, buflen, "%s,", if_names[i]);
362 (void) snprintf(ifname, buflen, "%s", if_names[i]);
438 ifname = iflist->if_names[
332 smb_nic_addhost(const char *host, const char *cmnt, int if_num, const char **if_names) argument
[all...]
/illumos-gate/usr/src/cmd/stat/common/
H A Dstatcommon.h205 /* should we show floppy ? if_names can override this */
209 char **if_names; member in struct:iodev_filter
H A Dacquire_iodevs.c364 ifn = df->if_names[i];
/illumos-gate/usr/src/cmd/stat/vmstat/
H A Dvmstat.c126 df.if_names = safe_alloc(df.if_max_iodevs * sizeof (char *));
127 (void) memset(df.if_names, 0, df.if_max_iodevs * sizeof (char *));
131 df.if_names[df.if_nr_names] = *argv;
207 free(df.if_names);
/illumos-gate/usr/src/cmd/stat/iostat/
H A Diostat.c346 free(df.if_names);
1239 df.if_names = safe_alloc(count * sizeof (char *));
1240 (void) memset(df.if_names, 0, count * sizeof (char *));
1244 df.if_names[df.if_nr_names++] = argv[optind++];

Completed in 67 milliseconds