Lines Matching refs:ifname
336 char *ifname; in smb_nic_addhost() local
349 ifname = (char *)if_names[i]; in smb_nic_addhost()
350 if ((ifname == NULL) || (*ifname == '\0')) in smb_nic_addhost()
352 buflen += strlen(ifname) + 1; in smb_nic_addhost()
358 ifname = if_list; in smb_nic_addhost()
360 ifname += snprintf(ifname, buflen, "%s,", if_names[i]); in smb_nic_addhost()
362 (void) snprintf(ifname, buflen, "%s", if_names[i]); in smb_nic_addhost()
407 char *ifname; in smb_nic_list_create() local
438 ifname = iflist->if_names[i]; in smb_nic_list_create()
439 if (smb_nic_getinfo(ifname, nc, AF_INET) != in smb_nic_list_create()
441 if (smb_nic_getinfo(ifname, nc, in smb_nic_list_create()
454 if (strchr(ifname, ':')) in smb_nic_list_create()
610 char *ifname; in smb_nic_hlist_sysget() local
694 ifname = strdup(lifrp->lifr_name); in smb_nic_hlist_sysget()
695 if (ifname == NULL) { in smb_nic_hlist_sysget()
701 iflist->if_names[iflist->if_num++] = ifname; in smb_nic_hlist_sysget()
808 char *ifname; in smb_nic_iflist_decode() local
832 if ((ifname = strtok_r(ifnames, ",", &lasts)) == NULL) { in smb_nic_iflist_decode()
837 iflist->if_names[if_num++] = strdup(ifname); in smb_nic_iflist_decode()
839 while ((ifname = strtok_r(NULL, ",", &lasts)) != NULL) in smb_nic_iflist_decode()
840 iflist->if_names[if_num++] = strdup(ifname); in smb_nic_iflist_decode()
1207 const char *ifname = nc->nic_ifname; in smb_nic_nbt_exclude() local
1214 if (strcmp(ifname, exclude_list[i]) == 0) in smb_nic_nbt_exclude()