Lines Matching defs:ifindex
162 get_next_msg(char *buf, char *lim, int ifindex, size_t *lenp, int filter)
208 if (ifindex && SDL(gw)->sdl_index != ifindex)
235 if (ifindex && ifam->ifam_index != ifindex)
340 int ifindex;
343 ifindex = if_nametoindex(ifname);
345 if (ifindex != 0) {
346 if (ifindex == ifi->ifi_ifindex)
408 update_ifinfo(struct ifilist_head_t *ifi_head, int ifindex)
467 "ifm_index = %d, ifindex = %d",
468 __func__, ifm->ifm_index, ifindex);
470 /* when ifindex is specified */
471 if (ifindex != UPDATE_IFINFO_ALL &&
472 ifindex != ifm->ifm_index)
475 /* lookup an entry with the same ifindex */
494 /* ifindex */
639 sock_mc_join(struct sockinfo *s, int ifindex)
646 if (ifindex == 0)
659 mreq.ipv6mr_interface = ifindex;
664 __func__, if_indextoname(ifindex, ifname),
670 __func__, if_indextoname(ifindex, ifname));
676 sock_mc_leave(struct sockinfo *s, int ifindex)
683 if (ifindex == 0)
697 mreq.ipv6mr_interface = ifindex;
702 __func__, if_indextoname(ifindex, ifname),
708 __func__, if_indextoname(ifindex, ifname));