Lines Matching defs:if_num
88 int if_num;
323 * if_num: number of interface names in if_names arg
330 int if_num, const char **if_names)
337 if ((host == NULL) || (if_num <= 0) || (if_names == NULL))
345 for (i = 0; i < if_num; i++) {
356 for (i = 0; i < if_num - 1; i++)
434 for (i = 0; i < iflist->if_num; i++) {
666 if ((iflist->if_num > 0) && smb_duplicate_nic(iflist, lifrp))
698 iflist->if_names[iflist->if_num++] = ifname;
700 hlist->h_ifnum = iflist->if_num;
716 for (j = 0; j < iflist->if_num; j++) {
772 hlist->h_ifnum += iflist->if_num;
806 int if_num = 0;
834 iflist->if_names[if_num++] = strdup(ifname);
837 iflist->if_names[if_num++] = strdup(ifname);
839 iflist->if_num = if_num;
841 for (if_num = 0; if_num < iflist->if_num; if_num++) {
842 if (iflist->if_names[if_num] == NULL) {
866 for (i = 0; i < iflist->if_num; i++)