Searched refs:ipv4_address_list (Results 1 – 1 of 1) sorted by relevance
/Zephyr-latest/tests/net/npf/src/ |
D | main.c | 346 static struct in_addr ipv4_address_list[4] = { variable 360 static NPF_IP_SRC_ADDR_ALLOWLIST(allowlist_ipv4_src_addr, (void *)ipv4_address_list, 361 ARRAY_SIZE(ipv4_address_list), AF_INET); 362 static NPF_IP_SRC_ADDR_BLOCKLIST(blocklist_ipv4_src_addr, (void *)ipv4_address_list, 363 ARRAY_SIZE(ipv4_address_list), AF_INET); 372 struct net_pkt *pkt_v4 = build_test_ip_pkt(&ipv4_address_list[0], &dst, AF_INET, in ZTEST() 384 for (int it = 0; it < ARRAY_SIZE(ipv4_address_list); it++) { in ZTEST() 385 memcpy((struct in_addr *)NET_IPV4_HDR(pkt_v4)->src, &ipv4_address_list[it], in ZTEST() 406 for (int it = 0; it < ARRAY_SIZE(ipv4_address_list); it++) { in ZTEST() 407 memcpy((struct in_addr *)NET_IPV4_HDR(pkt_v4)->src, &ipv4_address_list[it], in ZTEST() [all …]
|