Lines Matching refs:ifindex
164 get_next_msg(char *buf, char *lim, int ifindex, size_t *lenp, int filter)
210 if (ifindex && SDL(gw)->sdl_index != ifindex)
237 if (ifindex && ifam->ifam_index != ifindex)
342 int ifindex;
345 ifindex = if_nametoindex(ifname);
347 if (ifindex != 0) {
348 if (ifindex == ifi->ifi_ifindex)
411 update_ifinfo(struct ifilist_head_t *ifi_head, int ifindex)
487 "ifm_index = %d, ifindex = %d",
488 __func__, ifm->ifm_index, ifindex);
490 /* when ifindex is specified */
491 if (ifindex != UPDATE_IFINFO_ALL &&
492 ifindex != ifm->ifm_index)
503 /* lookup an entry with the same ifindex */
521 /* ifindex */
658 sock_mc_join(struct sockinfo *s, int ifindex)
665 if (ifindex == 0)
678 mreq.ipv6mr_interface = ifindex;
683 __func__, if_indextoname(ifindex, ifname),
689 __func__, if_indextoname(ifindex, ifname));
695 sock_mc_leave(struct sockinfo *s, int ifindex)
702 if (ifindex == 0)
716 mreq.ipv6mr_interface = ifindex;
721 __func__, if_indextoname(ifindex, ifname),
727 __func__, if_indextoname(ifindex, ifname));