Lines Matching refs:maddr
328 struct net_if_mcast_addr *maddr; in iface_setup() local
445 maddr = net_if_ipv4_maddr_add(iface1, &inaddr_mcast); in iface_setup()
446 if (!maddr) { in iface_setup()
449 zassert_not_null(maddr, "mcast"); in iface_setup()
454 maddr = net_if_ipv6_maddr_add(iface1, &in6addr_mcast); in iface_setup()
455 if (!maddr) { in iface_setup()
458 zassert_not_null(maddr, "mcast"); in iface_setup()
916 struct net_if_mcast_addr *maddr; in v6_addr_add_mcast_twice() local
918 maddr = net_if_ipv6_maddr_add(iface1, &in6addr_mcast); in v6_addr_add_mcast_twice()
919 zassert_equal(maddr, NULL, "Address was added twice"); in v6_addr_add_mcast_twice()
958 struct net_if_mcast_addr *maddr; in ZTEST() local
969 maddr = net_if_ipv6_maddr_add(iface4, &iid_addr_mcast); in ZTEST()
970 zassert_not_null(maddr, "Cannot add solicited-node multicast address"); in ZTEST()
983 maddr = net_if_ipv6_maddr_add(iface4, &unicast_addr_mcast); in ZTEST()
984 zassert_is_null(maddr, "Solicited-node multicast address was added twice"); in ZTEST()
991 maddr = net_if_ipv6_maddr_lookup(&iid_addr_mcast, &iface4); in ZTEST()
992 zassert_not_null(maddr, "Solicited-node multicast address was removed"); in ZTEST()
999 maddr = net_if_ipv6_maddr_lookup(&iid_addr_mcast, &iface4); in ZTEST()
1000 zassert_is_null(maddr, "Solicited-node multicast address was not removed"); in ZTEST()