Lines Matching refs:maddr
2282 struct net_if_mcast_addr *net_if_ipv6_maddr_lookup(const struct in6_addr *maddr, in net_if_ipv6_maddr_lookup() argument
2309 maddr->s6_addr, in net_if_ipv6_maddr_lookup()
4551 struct net_if_mcast_addr *maddr = NULL; in net_if_ipv4_maddr_add() local
4565 maddr = ipv4_maddr_find(iface, false, NULL); in net_if_ipv4_maddr_add()
4566 if (maddr) { in net_if_ipv4_maddr_add()
4567 maddr->is_used = true; in net_if_ipv4_maddr_add()
4568 maddr->address.family = AF_INET; in net_if_ipv4_maddr_add()
4569 maddr->address.in_addr.s4_addr32[0] = addr->s4_addr32[0]; in net_if_ipv4_maddr_add()
4577 &maddr->address.in_addr, in net_if_ipv4_maddr_add()
4584 return maddr; in net_if_ipv4_maddr_add()
4589 struct net_if_mcast_addr *maddr; in net_if_ipv4_maddr_rm() local
4594 maddr = ipv4_maddr_find(iface, true, addr); in net_if_ipv4_maddr_rm()
4595 if (maddr) { in net_if_ipv4_maddr_rm()
4596 maddr->is_used = false; in net_if_ipv4_maddr_rm()
4604 &maddr->address.in_addr, in net_if_ipv4_maddr_rm()
4643 struct net_if_mcast_addr *net_if_ipv4_maddr_lookup(const struct in_addr *maddr, in net_if_ipv4_maddr_lookup() argument
4655 addr = ipv4_maddr_find(iface, true, maddr); in net_if_ipv4_maddr_lookup()
4990 struct in6_addr maddr; in get_ifaddr() local
4999 &maddr); in get_ifaddr()
5015 if (net_ipv6_addr_cmp(&maddr, &unicast_maddr)) { in get_ifaddr()
5107 struct in6_addr maddr; in remove_ipv6_ifaddr() local
5110 &maddr); in remove_ipv6_ifaddr()
5111 net_if_ipv6_maddr_rm(iface, &maddr); in remove_ipv6_ifaddr()