Lines Matching refs:ifaddr

83 static ilg_t	*ilg_lookup(conn_t *, const in6_addr_t *, ipaddr_t ifaddr,
87 ipaddr_t ifaddr, uint_t ifindex, ill_t *ill, mcast_record_t fmode,
93 const in6_addr_t *v6group, ipaddr_t ifaddr, uint_t ifindex,
1721 * Lookup an ill based on the group, ifindex, ifaddr, and zoneid.
1722 * Applies to both IPv4 and IPv6, although ifaddr is only used with
1728 ill_mcast_lookup(const in6_addr_t *group, ipaddr_t ifaddr, uint_t ifindex,
1740 } else if (ifaddr != INADDR_ANY) {
1743 ipif = ipif_lookup_addr(ifaddr, NULL, zoneid, ipst);
1787 * Handles both IPv4 and IPv6. The ifaddr argument only applies in the
1792 const in6_addr_t *v6src, ipaddr_t ifaddr, uint_t ifindex, ill_t **illpp)
1826 ill = ill_mcast_lookup(v6group, ifaddr, ifindex, IPCL_ZONEID(connp),
1843 ipaddr_t ifaddr;
1851 ifaddr = imsf->imsf_interface.s_addr;
1857 ifaddr = INADDR_ANY;
1863 ilg = ilg_lookup(connp, group, ifaddr, ifindex);
1934 ipaddr_t ifaddr;
1943 ifaddr = imsf->imsf_interface.s_addr;
1950 ifaddr = INADDR_ANY;
1966 ilg = ilg_lookup(connp, group, ifaddr, ifindex);
1986 ilg->ilg_ifaddr = ifaddr;
2108 ilg = ilg_lookup(connp, group, ifaddr, ifindex);
2132 ilm->ilm_ifaddr = ifaddr; /* For netstat */
2455 const in6_addr_t *v6group, ipaddr_t ifaddr, uint_t ifindex,
2462 err = ip_opt_check(connp, v6group, v6src, ifaddr, ifindex, &ill);
2498 err = ilg_add(connp, v6group, ifaddr, ifindex, ill, fmode, v6src);
2514 * (the one ifaddr/ifindex points at), as well as detached ones.
2519 ipaddr_t ifaddr, uint_t ifindex, mcast_record_t fmode,
2530 ilg = ilg_lookup(connp, v6group, ifaddr, ifindex);
2537 err = ip_opt_check(connp, v6group, v6src, ifaddr, ifindex,
2655 const in6_addr_t *v6group, ipaddr_t ifaddr, uint_t ifindex,
2668 err = ip_opt_check(connp, v6group, v6src, ifaddr, ifindex,
2678 return (ip_opt_delete_group_excl(connp, v6group, ifaddr, ifindex,
2693 * Common for IPv4 and IPv6; for IPv4 we can have an ifaddr.
2696 ilg_add(conn_t *connp, const in6_addr_t *v6group, ipaddr_t ifaddr,
2712 ilg = ilg_lookup(connp, v6group, ifaddr, ifindex);
2757 ilg->ilg_ifaddr = ifaddr;
2824 ilg = ilg_lookup(connp, v6group, ifaddr, ifindex);
2847 ilm->ilm_ifaddr = ifaddr; /* For netstat */
3008 * Find an ilg matching group and ifaddr/ifindex.
3009 * We check both ifaddr and ifindex even though at most one of them
3013 ilg_lookup(conn_t *connp, const in6_addr_t *v6group, ipaddr_t ifaddr,
3024 if (ilg->ilg_ifaddr == ifaddr &&
3174 ipaddr_t ifaddr;
3195 ifaddr = ilg->ilg_ifaddr;
3215 ilg = ilg_lookup(connp, &v6group, ifaddr, ifindex);
3230 ilm->ilm_ifaddr = ifaddr; /* For netstat */