Lines Matching +full:0 +full:x00

41 static struct in6_addr my_addr = { { { 0x20, 0x01, 0x0d, 0xb8, 0, 0, 0, 0,
42 0, 0, 0, 0, 0, 0, 0, 0x1 } } };
43 static struct in6_addr peer_addr = { { { 0x20, 0x01, 0x0d, 0xb8, 0, 0, 0, 0,
44 0, 0, 0, 0, 0, 0, 0, 0x2 } } };
45 static struct in6_addr multicast_addr = { { { 0x20, 0x01, 0x0d, 0xb8, 0, 0, 0, 0,
46 0, 0, 0, 0, 0, 0, 0, 0x1 } } };
51 0x60, 0x00, 0x00, 0x00, 0x00, 0x20, 0x3A, 0xFF,
52 0x20, 0x01, 0x0D, 0xB8, 0x00, 0x00, 0x00, 0x00,
53 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02,
54 0x20, 0x01, 0x0D, 0xB8, 0x00, 0x00, 0x00, 0x00,
55 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01,
57 0x87, 0x00, 0x7B, 0x9C, 0x60, 0x00, 0x00, 0x00,
59 0x20, 0x01, 0x0D, 0xB8, 0x00, 0x00, 0x00, 0x00,
60 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02,
62 0x01, 0x01, 0x10, 0x00, 0x00, 0x00, 0x00, 0xD8,
64 0x02, 0x01, 0x10, 0x00, 0x00, 0x00, 0x00, 0xD7,
66 0x01, 0x01, 0x10, 0x00, 0x00, 0x00, 0x00, 0xD6,
68 0x05, 0x01, 0x10, 0x00, 0x00, 0x00, 0x00, 0xD5,
74 0x60, 0x00, 0x00, 0x00, 0x00, 0x18, 0x3A, 0xFF,
75 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
76 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
77 0xff, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
78 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01,
80 0x87, 0x00, 0x7B, 0x9C, 0x60, 0x00, 0x00, 0x00,
82 0x20, 0x01, 0x0D, 0xB8, 0x00, 0x00, 0x00, 0x00,
83 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02,
89 0x60, 0x00, 0x00, 0x00, 0x00, 0x70, 0x3a, 0xff,
90 0xfe, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
91 0x02, 0x60, 0x97, 0xff, 0xfe, 0x07, 0x69, 0xea,
92 0xff, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
93 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01,
95 0x86, 0x00, 0xbf, 0x01, 0x40, 0x00, 0x07, 0x08,
96 0x10, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x01,
98 0x01, 0x01, 0x00, 0x60, 0x97, 0x07, 0x69, 0xea,
100 0x05, 0x01, 0x00, 0x00, 0x00, 0x00, 0x05, 0xdc,
102 0x03, 0x04, 0x40, 0xc0, 0xFF, 0xFF, 0xFF, 0xFF,
103 0xFF, 0xFF, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00,
104 0x3f, 0xfe, 0x05, 0x07, 0x00, 0x00, 0x00, 0x01,
105 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
107 0x18, 0x03, 0x30, 0x08, 0xff, 0xff, 0xff, 0xff,
108 0x20, 0x01, 0x0d, 0xb0, 0x0f, 0xff, 0x00, 0x00,
109 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
111 0x19, 0x03, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff,
112 0x20, 0x01, 0x0d, 0xb8, 0x00, 0x00, 0x00, 0x00,
113 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01,
119 0x60, 0x00, 0x00, 0x00, 0x00, 0x36, 0x00, 0x3f, /* `....6.? */
120 0x20, 0x01, 0x0D, 0xB8, 0x00, 0x00, 0x00, 0x00,
121 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02,
122 0x20, 0x01, 0x0D, 0xB8, 0x00, 0x00, 0x00, 0x00,
123 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01,
125 0x11, 0x00,
127 0x63, 0x04, 0x80, 0x1e, 0x01, 0x00, /* ..c..... */
129 0xaa, 0xdc, 0xbf, 0xd7, 0x00, 0x2e, 0xa2, 0x55, /* ......M. */
131 0x10, 0x01, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, /* ........ */
132 0x00, 0x00, 0x01, 0x00, 0x00, 0x02, 0x00, 0x02, /* ........ */
133 0x00, 0x00, 0x03, 0x00, 0x00, 0x02, 0x00, 0x03, /* ........ */
134 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x00, 0xc9, /* ........ */
135 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, /* ...... */
158 return 0; in net_test_dev_init()
165 if (context->mac_addr[2] == 0x00) { in net_test_get_mac()
167 context->mac_addr[0] = 0x00; in net_test_get_mac()
168 context->mac_addr[1] = 0x00; in net_test_get_mac()
169 context->mac_addr[2] = 0x5E; in net_test_get_mac()
170 context->mac_addr[3] = 0x00; in net_test_get_mac()
171 context->mac_addr[4] = 0x53; in net_test_get_mac()
201 memset(&hdr.src, 0, sizeof(struct net_eth_addr)); in prepare_ra_message()
264 if (dad_time[0] == 0U) { in tester_send()
265 dad_time[0] = k_uptime_get_32(); in tester_send()
266 } else if (dad_time[1] == 0U) { in tester_send()
268 } else if (dad_time[2] == 0U) { in tester_send()
277 net_pkt_clone(pkt, K_NO_WAIT)) < 0) { in tester_send()
282 return 0; in tester_send()
287 return 0; in tester_send()
313 return 0; in dummy_send()
341 llstorage.addr[0] = 0x01; in add_neighbor()
342 llstorage.addr[1] = 0x02; in add_neighbor()
343 llstorage.addr[2] = 0x33; in add_neighbor()
344 llstorage.addr[3] = 0x44; in add_neighbor()
345 llstorage.addr[4] = 0x05; in add_neighbor()
346 llstorage.addr[5] = 0x06; in add_neighbor()
363 llstorage.addr[0] = 0x01; in rm_neighbor()
364 llstorage.addr[1] = 0x02; in rm_neighbor()
365 llstorage.addr[2] = 0x33; in rm_neighbor()
366 llstorage.addr[3] = 0x44; in rm_neighbor()
367 llstorage.addr[4] = 0x05; in rm_neighbor()
368 llstorage.addr[5] = 0x06; in rm_neighbor()
382 struct in6_addr dst_addr = { { { 0x20, 0x01, 0x0d, 0xb8, 0, 0, 0, 0, in add_max_neighbors()
383 0, 0, 0, 0, 0, 0, 0, 0x3 } } }; in add_max_neighbors()
389 llstorage.addr[0] = 0x01; in add_max_neighbors()
390 llstorage.addr[1] = 0x02; in add_max_neighbors()
391 llstorage.addr[2] = 0x33; in add_max_neighbors()
392 llstorage.addr[3] = 0x44; in add_max_neighbors()
393 llstorage.addr[4] = 0x05; in add_max_neighbors()
394 llstorage.addr[5] = 0x07; in add_max_neighbors()
400 for (i = 0U; i < CONFIG_NET_IPV6_MAX_NEIGHBORS + 1; i++) { in add_max_neighbors()
413 struct in6_addr dst_addr = { { { 0x20, 0x01, 0x0d, 0xb8, 0, 0, 0, 0, in rm_max_neighbors()
414 0, 0, 0, 0, 0, 0, 0, 0x3 } } }; in rm_max_neighbors()
419 llstorage.addr[0] = 0x01; in rm_max_neighbors()
420 llstorage.addr[1] = 0x02; in rm_max_neighbors()
421 llstorage.addr[2] = 0x33; in rm_max_neighbors()
422 llstorage.addr[3] = 0x44; in rm_max_neighbors()
423 llstorage.addr[4] = 0x05; in rm_max_neighbors()
424 llstorage.addr[5] = 0x07; in rm_max_neighbors()
430 for (i = 0U; i < CONFIG_NET_IPV6_MAX_NEIGHBORS + 1; i++) { in rm_max_neighbors()
482 zassert_false(net_if_config_ipv6_get(iface, &ipv6) < 0, in ipv6_setup()
485 for (i = 0; i < NET_IF_MAX_IPV6_ADDR; i++) { in ipv6_setup()
504 net_ipv6_addr_create(&multicast_addr, 0xff02, 0, 0, 0, 0, 0, 0, 0x0001); in ipv6_setup()
511 k_sem_init(&wait_data, 0, UINT_MAX); in ipv6_setup()
531 net_ipv6_addr_create(&multicast_addr, 0xff02, 0, 0, 0, 0, 0, 0, 0x0001); in ipv6_teardown()
544 struct in6_addr prefix1 = { { { 0x20, 0x01, 0x0d, 0xb8, 0, 0, 0, 0, in ZTEST()
545 0, 0, 0, 0, 0, 0, 0, 0x1 } } }; in ZTEST()
546 struct in6_addr prefix2 = { { { 0x20, 0x01, 0x0d, 0xb8, 0, 0, 0, 0, in ZTEST()
547 0, 0, 0, 0, 0, 0, 0, 0x2 } } }; in ZTEST()
556 prefix1.s6_addr[8] = 0x80; in ZTEST()
562 prefix2.s6_addr[8] = 0xc0; in ZTEST()
568 (void)memset(&prefix2.s6_addr[8], 0xff, 8); in ZTEST()
594 AF_UNSPEC, 0, K_FOREVER); in ZTEST()
601 zassert_false((net_recv_data(iface, pkt) < 0), in ZTEST()
617 AF_UNSPEC, 0, K_FOREVER); in ZTEST()
624 zassert_false((net_recv_data(iface, pkt) < 0), in ZTEST()
634 struct in6_addr addr = { { { 0x20, 1, 0x0d, 0xb8, 42, 0, 0, 0, in ZTEST()
635 0, 0, 0, 0, 0, 0, 0, 0 } } }; in ZTEST()
655 struct in6_addr prefix = { { { 0x20, 1, 0x0d, 0xb8, 43, 0, 0, 0, in ZTEST()
656 0, 0, 0, 0, 0, 0, 0, 0 } } }; in ZTEST()
657 uint32_t lifetime = 0xfffffffe; in ZTEST()
693 zassert_equal(ret, 0, "RS sending failed (%d)", ret); in rs_message()
700 struct in6_addr addr = { { { 0xfe, 0x80, 0, 0, 0, 0, 0, 0, 0x2, 0x60, in ra_message()
701 0x97, 0xff, 0xfe, 0x07, 0x69, 0xea } } }; in ra_message()
702 struct in6_addr prefix = { { { 0x3f, 0xfe, 0x05, 0x07, 0, 0, 0, 1, in ra_message()
703 0, 0, 0, 0, 0, 0, 0, 0 } } }; in ra_message()
704 struct in6_addr route_prefix = { { { 0x20, 0x01, 0x0d, 0xb0, 0x0f, 0xff } } }; in ra_message()
708 .sin6_addr = { { { 0x20, 0x01, 0x0d, 0xb8, 0x00, 0x00, 0x00, 0x00, in ra_message()
709 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01 } } }, in ra_message()
742 dns_server = (struct sockaddr_in6 *)&ctx->servers[0].dns_server; in ra_message()
767 AF_UNSPEC, 0, K_FOREVER); in ZTEST()
774 zassert_false(net_recv_data(iface, pkt) < 0, in ZTEST()
781 0x60, 0x00, 0x00, 0x00, 0x00, 0x78, 0x00, 0x40,
782 0xfe, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
783 0x08, 0xc0, 0xde, 0xff, 0xfe, 0x9b, 0xb4, 0x47,
784 0x20, 0x01, 0x0d, 0xb8, 0x00, 0x00, 0x00, 0x00,
785 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01,
787 0x11, 0x08,
789 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
790 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
791 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
792 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
793 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
794 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
795 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
796 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
797 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
799 0x4e, 0x20, 0x10, 0x92, 0x00, 0x30, 0xa1, 0xc5,
801 0x30, 0x26, 0x02, 0x01, 0x00, 0x04, 0x06, 0x70,
802 0x75, 0x62, 0x6c, 0x69, 0x63, 0xa0, 0x19, 0x02,
803 0x01, 0x00, 0x02, 0x01, 0x00, 0x02, 0x01, 0x00,
804 0x30, 0x0e, 0x30, 0x0c, 0x06, 0x08, 0x2b, 0x06,
805 0x01, 0x02, 0x01, 0x01, 0x05, 0x00, 0x05, 0x00 };
818 AF_UNSPEC, 0, K_FOREVER); in ZTEST()
826 zassert_false(net_recv_data(iface, pkt) < 0, in ZTEST()
837 0x60, 0x00, 0x00, 0x00, 0x00, 0x98, 0x00, 0x40,
838 0xfe, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
839 0x08, 0xc0, 0xde, 0xff, 0xfe, 0x9b, 0xb4, 0x47,
840 0x20, 0x01, 0x0d, 0xb8, 0x00, 0x00, 0x00, 0x00,
841 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01,
843 0x11, 0x0c,
845 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
846 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
847 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
848 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
849 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
850 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
851 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
852 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
853 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
854 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
855 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
856 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
857 0x01, 0x04, 0x00, 0x00, 0x00, 0x00,
859 0x4e, 0x20, 0x10, 0x92, 0x00, 0x30, 0xa1, 0xc5,
861 0x30, 0x26, 0x02, 0x01, 0x00, 0x04, 0x06, 0x70,
862 0x75, 0x62, 0x6c, 0x69, 0x63, 0xa0, 0x19, 0x02,
863 0x01, 0x00, 0x02, 0x01, 0x00, 0x02, 0x01, 0x00,
864 0x30, 0x0e, 0x30, 0x0c, 0x06, 0x08, 0x2b, 0x06,
865 0x01, 0x02, 0x01, 0x01, 0x05, 0x00, 0x05, 0x00 };
878 AF_UNSPEC, 0, K_FOREVER); in ZTEST()
886 zassert_false(net_recv_data(iface, pkt) < 0, in ZTEST()
897 0x60, 0x00, 0x00, 0x00, 0x03, 0xc8, 0x00, 0x40,
898 0xfe, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
899 0x08, 0xc0, 0xde, 0xff, 0xfe, 0x9b, 0xb4, 0x47,
900 0x20, 0x01, 0x0d, 0xb8, 0x00, 0x00, 0x00, 0x00,
901 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01,
903 0x11, 0x72,
905 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
906 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
907 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
908 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
909 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
910 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
911 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
912 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
913 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
914 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
915 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
916 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
917 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
918 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
919 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
920 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
921 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
922 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
923 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
924 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
925 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
926 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
927 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
928 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
929 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
930 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
931 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
932 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
933 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
934 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
935 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
936 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
937 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
938 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
939 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
940 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
941 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
942 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
943 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
944 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
945 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
946 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
947 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
948 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
949 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
950 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
951 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
952 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
953 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
954 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
955 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
956 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
957 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
958 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
959 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
960 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
961 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
962 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
963 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
964 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
965 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
966 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
967 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
968 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
969 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
970 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
971 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
972 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
973 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
974 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
975 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
976 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
977 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
978 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
979 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
980 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
981 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
982 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
983 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
984 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
985 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
986 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
987 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
988 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
989 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
990 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
991 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
992 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
993 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
994 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
995 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
996 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
997 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
998 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
999 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
1000 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
1001 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
1002 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
1003 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
1004 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
1005 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
1006 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
1007 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
1008 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
1009 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
1010 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
1011 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
1012 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
1013 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
1014 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
1015 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
1016 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
1017 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
1018 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
1019 0x01, 0x04, 0x00, 0x00, 0x00, 0x00,
1021 0x4e, 0x20, 0x10, 0x92, 0x00, 0x30, 0xa1, 0xc5,
1023 0x30, 0x26, 0x02, 0x01, 0x00, 0x04, 0x06, 0x70,
1024 0x75, 0x62, 0x6c, 0x69, 0x63, 0xa0, 0x19, 0x02,
1025 0x01, 0x00, 0x02, 0x01, 0x00, 0x02, 0x01, 0x00,
1026 0x30, 0x0e, 0x30, 0x0c, 0x06, 0x08, 0x2b, 0x06,
1027 0x01, 0x02, 0x01, 0x01, 0x05, 0x00, 0x05, 0x00
1041 AF_UNSPEC, 0, K_FOREVER); in ZTEST()
1048 zassert_false(net_recv_data(iface, pkt) < 0, in ZTEST()
1063 struct in6_addr addr = { { { 0x20, 0x01, 0x0d, 0xb8, 0, 0, 0, 0, in ZTEST()
1064 0, 0, 0, 0, 0, 0, 0x20, 0x1 } } }; in ZTEST()
1066 uint32_t vlifetime = 0xffff; in ZTEST()
1085 zassert_equal(ifaddr->lifetime.wrap_counter, 0, in ZTEST()
1110 ifaddr->lifetime.wrap_counter = 0; in ZTEST()
1115 zassert_equal(ifaddr->lifetime.timer_timeout, 0, in ZTEST()
1117 ifaddr->lifetime.timer_timeout, 0); in ZTEST()
1118 zassert_equal(ifaddr->lifetime.wrap_counter, 0, in ZTEST()
1139 net_ipv6_addr_create(&dst, 0xff02, 0, 0, 0, 0, 0, 0, 1); in ZTEST()
1148 zassert_false(ret < 0, "Cannot send NA 1"); in ZTEST()
1157 zassert_true(memcmp(ll->addr, ll_iface->addr, ll->len) != 0, in ZTEST()
1167 zassert_false(ret < 0, "Cannot send NA 2"); in ZTEST()
1174 zassert_true(memcmp(ll->addr, ll_iface->addr, ll->len) != 0, in ZTEST()
1177 ll_iface->addr[0] = 0x00; in ZTEST()
1178 ll_iface->addr[1] = 0x00; in ZTEST()
1179 ll_iface->addr[2] = 0x5E; in ZTEST()
1180 ll_iface->addr[3] = 0x00; in ZTEST()
1181 ll_iface->addr[4] = 0x53; in ZTEST()
1188 struct in6_addr addr1 = { { { 0x20, 0x01, 0x0d, 0xb8, 0, 0, 0, 0, in ZTEST()
1189 0, 0, 0, 0, 0, 0, 0x99, 0x1 } } }; in ZTEST()
1190 struct in6_addr addr2 = { { { 0x20, 0x01, 0x0d, 0xb8, 0, 0, 0, 0, in ZTEST()
1191 0, 0, 0, 0, 0, 0, 0x99, 0x2 } } }; in ZTEST()
1192 struct in6_addr addr3 = { { { 0x20, 0x01, 0x0d, 0xb8, 0, 0, 0, 0, in ZTEST()
1193 0, 0, 0, 0, 0, 0, 0x99, 0x3 } } }; in ZTEST()
1198 dad_time[0] = dad_time[1] = dad_time[2] = 0U; in ZTEST()
1200 ifaddr = net_if_ipv6_addr_add(iface, &addr1, NET_ADDR_AUTOCONF, 0xffff); in ZTEST()
1205 ifaddr = net_if_ipv6_addr_add(iface, &addr2, NET_ADDR_AUTOCONF, 0xffff); in ZTEST()
1210 ifaddr = net_if_ipv6_addr_add(iface, &addr3, NET_ADDR_AUTOCONF, 0xffff); in ZTEST()
1216 zassert_true((dad_time[0] != 0U) && (dad_time[1] != 0U) && in ZTEST()
1217 (dad_time[2] != 0U), "Did not get DAD reply"); in ZTEST()
1244 zassert_true(0, "exiting"); in setup_ipv6_udp()
1249 zassert_true(0, "exiting"); in setup_ipv6_udp()
1254 zassert_true(0, "exiting"); in setup_ipv6_udp()
1293 struct in6_addr localaddr = { { { 0, 0, 0, 0, 0, 0, 0, 0, in ZTEST()
1294 0, 0, 0, 0, 0, 0, 0, 0x1 } } }; in ZTEST()
1295 struct in6_addr addr = { { { 0x20, 0x01, 0x0d, 0xb8, 0, 0, 0, 0, in ZTEST()
1296 0, 0, 0, 0, 0, 0, 0, 0x1 } } }; in ZTEST()
1306 struct in6_addr localaddr = { { { 0, 0, 0, 0, 0, 0, 0, 0, in ZTEST()
1307 0, 0, 0, 0, 0, 0, 0, 0x1 } } }; in ZTEST()
1308 struct in6_addr addr = { { { 0x20, 0x01, 0x0d, 0xb8, 0, 0, 0, 0, in ZTEST()
1309 0, 0, 0, 0, 0, 0, 0, 0x1 } } }; in ZTEST()
1319 struct in6_addr mcast_iface = { { { 0xff, 0x01, 0, 0, 0, 0, 0, 0, in ZTEST()
1320 0, 0, 0, 0, 0, 0, 0, 0 } } }; in ZTEST()
1321 struct in6_addr addr = { { { 0x20, 0x01, 0x0d, 0xb8, 0, 0, 0, 0, in ZTEST()
1322 0, 0, 0, 0, 0, 0, 0, 0x1 } } }; in ZTEST()
1332 struct in6_addr mcast_zero = { { { 0xff, 0x00, 0, 0, 0, 0, 0, 0, in ZTEST()
1333 0, 0, 0, 0, 0, 0, 0, 0 } } }; in ZTEST()
1334 struct in6_addr addr = { { { 0x20, 0x01, 0x0d, 0xb8, 0, 0, 0, 0, in ZTEST()
1335 0, 0, 0, 0, 0, 0, 0, 0x1 } } }; in ZTEST()
1345 struct in6_addr mcast_site = { { { 0xff, 0x05, 0, 0, 0, 0, 0, 0, in ZTEST()
1346 0, 0, 0, 0, 0, 0, 0, 0 } } }; in ZTEST()
1347 struct in6_addr addr = { { { 0x20, 0x01, 0x0d, 0xb8, 0, 0, 0, 0, in ZTEST()
1348 0, 0, 0, 0, 0, 0, 0, 0x1 } } }; in ZTEST()
1361 zassert_equal(ret, 0, in net_ctx_create()
1370 .sin6_addr = { { { 0 } } }, in net_ctx_bind_mcast()
1378 zassert_equal(ret, 0, "Context bind test failed (%d)", ret); in net_ctx_bind_mcast()
1383 zassert_true(net_context_listen(ctx, 0), in net_ctx_listen()
1411 zassert_equal(ret, 0, "Context recv IPv6 UDP failed"); in net_ctx_recv()
1419 zassert_equal(ret, 0, "Cannot join IPv6 multicast group"); in join_group()
1427 zassert_equal(ret, 0, "Cannot leave IPv6 multicast group"); in leave_group()
1432 struct in6_addr mcast_all_dhcp = { { { 0xff, 0x05, 0, 0, 0, 0, 0, 0, in ZTEST()
1433 0, 0, 0, 0x01, 0, 0, 0, 0x03 } } }; in ZTEST()
1434 struct in6_addr addr = { { { 0x20, 0x01, 0x0d, 0xb8, 0, 0, 0, 0, in ZTEST()
1435 0, 0, 0, 0, 0, 0, 0, 0x1 } } }; in ZTEST()
1461 struct in6_addr mcast_org = { { { 0xff, 0x08, 0, 0, 0, 0, 0, 0, in ZTEST()
1462 0, 0, 0, 0, 0, 0, 0, 0 } } }; in ZTEST()
1463 struct in6_addr addr = { { { 0x20, 0x01, 0x0d, 0xb8, 0, 0, 0, 0, in ZTEST()
1464 0, 0, 0, 0, 0, 0, 0, 0x1 } } }; in ZTEST()
1474 struct in6_addr mcast_iface = { { { 0xff, 0x01, 0, 0, 0, 0, 0, 0, in ZTEST()
1475 0, 0, 0, 0, 0, 0, 0, 0 } } }; in ZTEST()
1476 struct in6_addr addr = { { { 0x20, 0x01, 0x0d, 0xb8, 0, 0, 0, 0, in ZTEST()
1477 0, 0, 0, 0, 0, 0, 0, 0x1 } } }; in ZTEST()
1496 zassert_equal(ret, 0, in ZTEST()
1514 { { 0xff, 0x02, 0, 0, 0, 0, 0, 0, 0x01, 0x02, 0x03, 0x04, 0x05, in ZTEST()
1515 0x06, 0x07, 0x08 } } in ZTEST()
1518 struct in6_addr addr = { { { 0x20, 0x01, 0x0d, 0xb8, 0, 0, 0, 0, 0, 0, in ZTEST()
1519 0, 0, 0, 0, 0, 0x1 } } }; in ZTEST()
1544 { { 0xff, 0x02, 0, 0, 0, 0, 0, 0, 0x42, 0x42, 0x42, 0x42, 0x42, in ZTEST()
1545 0x42, 0x42, 0x42 } } in ZTEST()
1548 struct in6_addr addr = { { { 0x20, 0x01, 0x0d, 0xb8, 0, 0, 0, 0, 0, 0, in ZTEST()
1549 0, 0, 0, 0, 0, 0x1 } } }; in ZTEST()
1590 struct in6_addr mcast_iface2 = { { { 0xff, 0x02, 0, 0, 0, 0, 0, 0, 0x01, in ZTEST()
1591 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, in ZTEST()
1592 0x08 } } }; in ZTEST()
1594 struct in6_addr addr = { { { 0x20, 0x01, 0x0d, 0xb8, 0, 0, 0, 0, 0, 0, in ZTEST()
1595 0, 0, 0, 0, 0, 0x1 } } }; in ZTEST()
1635 struct in6_addr addr = { { { 0x20, 0x01, 0x0d, 0xb8, 0, 0, 0, 0, in ZTEST()
1636 0, 0, 0, 0, 0, 0, 0x99, 0x1 } } }; in ZTEST()
1640 dad_time[0] = 0; in ZTEST()
1644 ifaddr = net_if_ipv6_addr_add(iface, &addr, NET_ADDR_AUTOCONF, 0xffff); in ZTEST()
1650 zassert_equal(dad_time[0], 0, "Received ND message when not expected"); in ZTEST()