Lines Matching refs:prefix1
662 struct in6_addr prefix1 = { { { 0x20, 0x01, 0x0d, 0xb8, 0, 0, 0, 0, in ZTEST() local
667 st = net_ipv6_is_prefix((uint8_t *)&prefix1, (uint8_t *)&prefix2, 64); in ZTEST()
670 st = net_ipv6_is_prefix((uint8_t *)&prefix1, (uint8_t *)&prefix2, 65); in ZTEST()
674 prefix1.s6_addr[8] = 0x80; in ZTEST()
676 st = net_ipv6_is_prefix((uint8_t *)&prefix1, (uint8_t *)&prefix2, 65); in ZTEST()
682 st = net_ipv6_is_prefix((uint8_t *)&prefix1, (uint8_t *)&prefix2, 65); in ZTEST()
688 st = net_ipv6_is_prefix((uint8_t *)&prefix1, (uint8_t *)&prefix2, 65); in ZTEST()
692 st = net_ipv6_is_prefix((uint8_t *)&prefix1, (uint8_t *)&prefix2, 64); in ZTEST()
696 st = net_ipv6_is_prefix((uint8_t *)&prefix1, (uint8_t *)&prefix2, 66); in ZTEST()
2273 struct in6_addr prefix1 = { { { 0x3f, 0xfe, 0x05, 0x07, 0, 0, 0, 1, in ZTEST() local
2288 ret = net_ipv6_pe_add_filter(&prefix1, true); in ZTEST()
2298 ret = net_ipv6_pe_del_filter(&prefix1); in ZTEST()
2308 ret = net_ipv6_pe_add_filter(&prefix1, false); in ZTEST()
2317 found = is_pe_address_found(iface, &prefix1); in ZTEST()
2321 ret = net_ipv6_pe_del_filter(&prefix1); in ZTEST()
2324 ret = net_ipv6_pe_add_filter(&prefix1, true); in ZTEST()
2334 found = is_pe_address_found(iface, &prefix1); in ZTEST()
2337 ret = net_ipv6_pe_del_filter(&prefix1); in ZTEST()
2341 ret = net_ipv6_pe_add_filter(&prefix1, false); in ZTEST()
2351 found = is_pe_address_found(iface, &prefix1); in ZTEST()