Lines Matching refs:prefix1
661 struct in6_addr prefix1 = { { { 0x20, 0x01, 0x0d, 0xb8, 0, 0, 0, 0, in ZTEST() local
666 st = net_ipv6_is_prefix((uint8_t *)&prefix1, (uint8_t *)&prefix2, 64); in ZTEST()
669 st = net_ipv6_is_prefix((uint8_t *)&prefix1, (uint8_t *)&prefix2, 65); in ZTEST()
673 prefix1.s6_addr[8] = 0x80; in ZTEST()
675 st = net_ipv6_is_prefix((uint8_t *)&prefix1, (uint8_t *)&prefix2, 65); in ZTEST()
681 st = net_ipv6_is_prefix((uint8_t *)&prefix1, (uint8_t *)&prefix2, 65); in ZTEST()
687 st = net_ipv6_is_prefix((uint8_t *)&prefix1, (uint8_t *)&prefix2, 65); in ZTEST()
691 st = net_ipv6_is_prefix((uint8_t *)&prefix1, (uint8_t *)&prefix2, 64); in ZTEST()
695 st = net_ipv6_is_prefix((uint8_t *)&prefix1, (uint8_t *)&prefix2, 66); in ZTEST()
2272 struct in6_addr prefix1 = { { { 0x3f, 0xfe, 0x05, 0x07, 0, 0, 0, 1, in ZTEST() local
2287 ret = net_ipv6_pe_add_filter(&prefix1, true); in ZTEST()
2297 ret = net_ipv6_pe_del_filter(&prefix1); in ZTEST()
2307 ret = net_ipv6_pe_add_filter(&prefix1, false); in ZTEST()
2316 found = is_pe_address_found(iface, &prefix1); in ZTEST()
2320 ret = net_ipv6_pe_del_filter(&prefix1); in ZTEST()
2323 ret = net_ipv6_pe_add_filter(&prefix1, true); in ZTEST()
2333 found = is_pe_address_found(iface, &prefix1); in ZTEST()
2336 ret = net_ipv6_pe_del_filter(&prefix1); in ZTEST()
2340 ret = net_ipv6_pe_add_filter(&prefix1, false); in ZTEST()
2350 found = is_pe_address_found(iface, &prefix1); in ZTEST()