Lines Matching +full:0 +full:x22
35 (struct net_eth_addr){ { 0x00, 0x11, 0x22, 0x33, 0x44, 0x55 } }
37 (struct net_eth_addr){ { 0x00, 0x66, 0x77, 0x88, 0x99, 0xaa } }
59 pkt = net_pkt_rx_alloc_with_buffer(iface, size, AF_UNSPEC, 0, K_NO_WAIT); in build_test_pkt()
67 zassert_equal(ret, 0, ""); in build_test_pkt()
72 zassert_equal(ret, 0, ""); in build_test_pkt()
74 DBG("pkt %p: iface %p size %d type 0x%04x\n", pkt, iface, size, type); in build_test_pkt()
86 (family == AF_INET6) ? sizeof(struct net_ipv6_hdr) : 0U; in build_test_ip_pkt()
88 pkt = net_pkt_rx_alloc_with_buffer(iface, size, family, 0, K_NO_WAIT); in build_test_ip_pkt()
96 zassert_equal(ret, 0, "Cannot create %s packet (%d)", in build_test_ip_pkt()
113 #define dummy_iface_a NET_IF_GET_NAME(dummy_iface_a, 0)[0]
114 #define dummy_iface_b NET_IF_GET_NAME(dummy_iface_b, 0)[0]
126 pkt_iface_a = build_test_pkt(0, 200, &dummy_iface_a); in test_npf_iface()
127 pkt_iface_b = build_test_pkt(0, 200, &dummy_iface_b); in test_npf_iface()
248 { { 0x11, 0x11, 0x11, 0x11, 0x11, 0x11 } },
249 { { 0x22, 0x22, 0x22, 0x22, 0x22, 0x22 } },
250 { { 0x33, 0x33, 0x33, 0x33, 0x33, 0x33 } },
251 { { 0x44, 0x44, 0x44, 0x44, 0x44, 0x44 } },
310 0xff, 0xff, 0xff, 0xff, 0xff, 0x00);
323 mac_address_list[1].addr[5] = 0x00; in test_npf_eth_mac_addr_mask()
348 { { { 192, 0, 2, 1 } } },
349 { { { 172, 16, 0, 1 } } },
350 { { { 10, 49, 0, 252 } } }
354 { { { 0x20, 0x01, 0x0d, 0xb8, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0x1 } } },
355 { { { 0x20, 0x01, 0x0d, 0xb8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0x1 } } },
356 { { { 0x20, 0x01, 0x0d, 0xb8, 9, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0x1 } } },
357 { { { 0x20, 0x01, 0x0d, 0xb8, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0x1 } } },
372 struct net_pkt *pkt_v4 = build_test_ip_pkt(&ipv4_address_list[0], &dst, AF_INET, in ZTEST()
374 struct net_pkt *pkt_v6 = build_test_ip_pkt(&ipv6_address_list[0], &ipv6_address_list[1], in ZTEST()
384 for (int it = 0; it < ARRAY_SIZE(ipv4_address_list); it++) { in ZTEST()
406 for (int it = 0; it < ARRAY_SIZE(ipv4_address_list); it++) { in ZTEST()
432 struct in6_addr dst = { { { 0xfe, 0x80, 0x43, 0xb8, 0, 0, 0, 0, in ZTEST()
433 0, 0, 0, 0xf2, 0xaa, 0x29, 0x02, 0x04 } } }; in ZTEST()
434 struct in6_addr bad_addr = { { { 0x20, 0x01, 0x0d, 0xb8, 8, 0, 0, 0, in ZTEST()
435 0, 0, 0, 0, 0, 0, 0, 0x1 } } }; in ZTEST()
436 struct net_pkt *pkt_v6 = build_test_ip_pkt(&ipv6_address_list[0], &dst, AF_INET6, in ZTEST()
438 struct net_pkt *pkt_v4 = build_test_ip_pkt(&ipv4_address_list[0], &ipv4_address_list[1], in ZTEST()
448 for (int it = 0; it < ARRAY_SIZE(ipv6_address_list); it++) { in ZTEST()
470 for (int it = 0; it < ARRAY_SIZE(ipv6_address_list); it++) { in ZTEST()