Lines Matching refs:prefix
818 struct net_if_ipv6_prefix *prefix; in ZTEST() local
824 prefix = net_if_ipv6_prefix_add(TEST_NET_IF, &addr, len, lifetime); in ZTEST()
825 zassert_not_null(prefix, "Cannot get prefix"); in ZTEST()
827 net_if_ipv6_prefix_set_lf(prefix, false); in ZTEST()
828 net_if_ipv6_prefix_set_timer(prefix, lifetime); in ZTEST()
832 prefix = net_if_ipv6_prefix_lookup(TEST_NET_IF, &addr, len); in ZTEST()
833 zassert_is_null(prefix, "Prefix %s/%d should have expired", in ZTEST()
840 struct in6_addr prefix = { { { 0x20, 1, 0x0d, 0xb8, 43, 0, 0, 0, in ZTEST() local
847 ifprefix = net_if_ipv6_prefix_add(TEST_NET_IF, &prefix, len, lifetime); in ZTEST()
862 ret = net_if_ipv6_prefix_rm(TEST_NET_IF, &prefix, len); in ZTEST()
864 net_sprint_ipv6_addr(&prefix), len); in ZTEST()
2179 static bool is_pe_address_found(struct net_if *iface, struct in6_addr *prefix) in is_pe_address_found() argument
2197 (uint8_t *)prefix, 64)) { in is_pe_address_found()
2209 struct in6_addr prefix = { { { 0x3f, 0xfe, 0x05, 0x07, 0, 0, 0, 1, in get_pe_addresses() local
2226 (uint8_t *)&prefix, 64)) { in get_pe_addresses()
2243 struct in6_addr prefix = { { { 0x3f, 0xfe, 0x05, 0x07, 0, 0, 0, 1, in ZTEST() local
2266 found = is_pe_address_found(iface, &prefix); in ZTEST()