Lines Matching +full:0 +full:x4b
46 0x41, 0xd8, /* FCF */
47 0x45, /* Sequence Number */
48 0xcd, 0xab, /* PAN ID */
49 0xff, 0xff, /* Destination Address (Broadcast) */
50 0xc2, 0xa3, 0x9e, 0x00, 0x00, 0x4b, 0x12, 0x00, /* Source Address */
51 0x7b, 0x09, /* IPHC Header */
52 0x3a, /* Next Header: ICMPv6 */
53 0x20, 0x01, 0xdb, 0x08, 0x00, 0x00, 0x00, 0x00, /* IPv6 Source Address */
54 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01,
55 0x02, 0x01, 0xff, 0x00, 0x00, 0x01, /* IPv6 Destination Address */
56 0x87, /* ICMPv6 Type: Neighbour Solicitation */
57 0x00, /* Code */
58 0x91, 0x11, /* Checksum */
59 0x00, 0x00, 0x00, 0x00, /* Reserved */
60 0xff, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* Target Address */
61 0x00, 0x00, 0x00, 0x01, 0xff, 0x00, 0x00, 0x01,
62 0x01, /* ICMPv6 Option: Source LL Address */
63 0x02, /* Length */
64 0x00, 0x12, 0x4b, 0x00, 0x00, 0x9e, 0xa3, 0xc2, /* LL Address */
65 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 /* Padding */
70 .src = { { { 0x20, 0x01, 0xdb, 0x08, 0x00, 0x00, 0x00, 0x00,
71 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01 } } },
72 .dst = { { { 0xff, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
73 0x00, 0x00, 0x00, 0x01, 0xff, 0x00, 0x00, 0x01 } } },
85 0x02, 0x10, /* FCF */
86 0x16 /* Sequence Number */
94 .payload_length = 0U,
102 0x00, 0xd0, /* FCF */
103 0x11, /* Sequence Number */
104 0xcd, 0xab, /* Source PAN ID */
105 0xc2, 0xa3, 0x9e, 0x00, 0x00, 0x4b, 0x12, 0x00, /* Source Address */
106 0x00, 0x00, /* Superframe Specification */
107 0x00, /* GTS */
108 0x00, /* Pending Addresses */
109 0x00, 0x00 /* Payload */
125 0x49, 0xd8, /* FCF */
126 0x45, /* Sequence Number */
127 0xcd, 0xab, /* Destination PAN */
128 0xff, 0xff, /* Destination Address */
129 0xc2, 0xa3, 0x9e, 0x00, 0x00, 0x4b, 0x12, 0x00, /* Source Address */
130 0x07, /* Security Control Field */
131 0x03, 0x00, 0x00, 0x00, /* Frame Counter */
132 0x98, 0x49, 0x1f, 0x57, /* Encrypted Payload */
133 0x99, 0xf9, 0x10, 0x5e, 0x5b, 0x8c, 0x31, 0x0b, /* MIC (128 bit) */
134 0xa1, 0x70, 0x99, 0x14, 0x0a, 0x6a, 0x38, 0x47,
153 0x01, 0xc8, /* FCF */
154 0x8b, /* Sequence number */
155 0xff, 0xff, /* Destination PAN ID 0xffff */
156 0x02, 0x00, /* Destination short address 0x0002 */
157 0x23, 0x00, /* Source PAN ID 0x0023 */
158 0x60, 0xe2, 0x16, 0x21,
159 0x1c, 0x4a, 0xc2, 0xae, /* Source extended address ae:c2:4a:1c:21:16:e2:60 */
160 0xAA, 0xBB, 0xCC, /* MAC Payload */
165 #define MOCK_PAN_ID 0xabcd
178 for (i = 0; i < length;) { in pkt_hexdump()
183 for (j = 0; j < 10 && i < length; j++, i++) { in pkt_hexdump()
198 for (i = 0; i < length-1; i++) { in ieee_addr_hexdump()
212 return 0; in disassociate()
223 return 0; in disassociate()
249 return 0; in associate()
254 const uint16_t mock_short_addr = 0x5678; in set_up_short_addr()
267 return 0; in set_up_short_addr()
277 return 0; in tear_down_short_addr()
290 return 0; in tear_down_short_addr()
298 0x61, 0xd8, /* FCF with AR bit set */ in get_data_pkt_with_ar()
299 0x16, /* Sequence */ in get_data_pkt_with_ar()
300 0xcd, 0xab, /* Destination PAN */ in get_data_pkt_with_ar()
301 0x78, 0x56, /* Destination Address */ in get_data_pkt_with_ar()
302 0xc2, 0xa3, 0x9e, 0x00, 0x00, 0x4b, 0x12, 0x00, /* Source Address */ in get_data_pkt_with_ar()
304 0x7b, 0x39, /* IPHC header, SAM: compressed, DAM: 48-bits inline */ in get_data_pkt_with_ar()
305 0x3a, /* Next header: ICMPv6 */ in get_data_pkt_with_ar()
306 0x02, 0x01, 0xff, 0x4b, 0x12, 0x00, /* IPv6 Destination */ in get_data_pkt_with_ar()
307 0x87, /* Type: NS */ in get_data_pkt_with_ar()
308 0x00, /* Code*/ in get_data_pkt_with_ar()
309 0xb7, 0x45, /* Checksum */ in get_data_pkt_with_ar()
310 0x00, 0x00, 0x00, 0x00, /* Reserved */ in get_data_pkt_with_ar()
311 0xfe, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70, 0x14, 0xa6, 0x1c, 0x00, 0x4b, in get_data_pkt_with_ar()
312 0x12, 0x00, /* Target Address */ in get_data_pkt_with_ar()
313 0x01, /* ICMPv6 Option: Source LL address */ in get_data_pkt_with_ar()
314 0x02, /* Length */ in get_data_pkt_with_ar()
315 0xe5, 0xac, 0xa1, 0x1c, 0x00, 0x4b, 0x12, 0x00, /* LL address */ in get_data_pkt_with_ar()
316 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* Padding */ in get_data_pkt_with_ar()
320 pkt = net_pkt_rx_alloc_with_buffer(net_iface, sizeof(data_pkt_with_ar), AF_UNSPEC, 0, in get_data_pkt_with_ar()
343 if (disassociate(net_iface, ctx) != 0) { in set_up_security()
348 .key = {0xc0, 0xc1, 0xc2, 0xc3, 0xc4, 0xc5, 0xc6, 0xc7, 0xc8, 0xc9, 0xca, 0xcb, in set_up_security()
349 0xcc, 0xcd, 0xce, 0xcf}, in set_up_security()
362 associate(net_iface, ctx, saved_short_addr) != 0) { in set_up_security()
377 if (disassociate(net_iface, ctx) != 0) { in tear_down_security()
388 associate(net_iface, ctx, saved_short_addr) != 0) { in tear_down_security()
404 .tv_usec = 0, in set_up_recv_socket()
409 if (fd < 0) { in set_up_recv_socket()
434 struct ieee802154_mpdu mpdu = {0}; in test_packet_parsing()
436 NET_INFO("- Parsing packet 0x%p of frame %s", t->pkt, t->name); in test_packet_parsing()
550 AF_UNSPEC, 0, K_FOREVER); in test_wait_for_ack()
568 if (ieee802154_wait_for_ack(net_iface, ack_required) != 0) { in test_wait_for_ack()
590 pkt = net_pkt_rx_alloc_with_buffer(net_iface, 64, AF_UNSPEC, 0, K_NO_WAIT); in test_packet_cloning_with_cb()
608 zassert_equal(net_pkt_ieee802154_rssi(cloned_pkt), 0U); in test_packet_cloning_with_cb()
641 net_pkt_set_ieee802154_rssi_dbm(pkt, 0); in test_packet_rssi_conversion()
643 zassert_equal(net_pkt_ieee802154_rssi_dbm(pkt), 0); in test_packet_rssi_conversion()
690 uint8_t payload[] = {0x01, 0x02, 0x03, 0x04}; in test_dgram_packet_sending()
701 if (fd < 0) { in test_dgram_packet_sending()
723 if (zsock_sendto(fd, payload, sizeof(payload), 0, (const struct sockaddr *)&pkt_dst_sll, in test_dgram_packet_sending()
753 if (memcmp(mpdu.payload, payload, sizeof(payload)) != 0) { in test_dgram_packet_sending()
778 uint8_t payload[] = {0x01, 0x02, 0x03, 0x04}; in test_dgram_packet_reception()
780 uint8_t ll_hdr_len = 0, authtag_len = 0; in test_dgram_packet_reception()
781 struct sockaddr_ll recv_src_sll = {0}; in test_dgram_packet_reception()
782 uint8_t received_payload[4] = {0}; in test_dgram_packet_reception()
802 if (fd < 0) { in test_dgram_packet_reception()
814 pkt->lladdr_dst.len = is_broadcast ? 0 : sizeof(ctx->ext_addr); in test_dgram_packet_reception()
880 received_len = zsock_recvfrom(fd, received_payload, sizeof(received_payload), 0, in test_dgram_packet_reception()
882 if (received_len < 0) { in test_dgram_packet_reception()
918 struct sockaddr_ll socket_sll = {0}; in test_raw_packet_sending()
920 struct msghdr msg = {0}; in test_raw_packet_sending()
928 if (fd < 0) { in test_raw_packet_sending()
947 if (zsock_sendmsg(fd, &msg, 0) != sizeof(raw_payload)) { in test_raw_packet_sending()
969 RAW_MAC_PAYLOAD_LENGTH) != 0) { in test_raw_packet_sending()
987 uint8_t received_payload[sizeof(raw_payload)] = {0}; in test_raw_packet_reception()
999 if (fd < 0) { in test_raw_packet_reception()
1034 received_len = zsock_recv(fd, received_payload, sizeof(received_payload), 0); in test_raw_packet_reception()
1035 if (received_len < 0) { in test_raw_packet_reception()
1070 0x60, 0x00, 0x00, 0x00, /* IPv6, Traffic Class, Flow Label */ in test_recv_and_send_ack_reply()
1071 0x00, 0x28, /* Payload Length */ in test_recv_and_send_ack_reply()
1072 0x3a, /* Next header: ICMPv6 */ in test_recv_and_send_ack_reply()
1073 0xff, /* Hop Limit */ in test_recv_and_send_ack_reply()
1074 0xfe, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, in test_recv_and_send_ack_reply()
1075 0x02, 0x12, 0x4b, 0x00, 0x00, 0x9e, 0xa3, 0xc2, /* Source */ in test_recv_and_send_ack_reply()
1076 0xff, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, in test_recv_and_send_ack_reply()
1077 0x00, 0x00, 0x00, 0x01, 0xff, 0x4b, 0x12, 0x00, /* Destination */ in test_recv_and_send_ack_reply()
1078 0x87, /* Type: NS */ in test_recv_and_send_ack_reply()
1079 0x00, /* Code*/ in test_recv_and_send_ack_reply()
1080 0xb7, 0x45, /* Checksum */ in test_recv_and_send_ack_reply()
1081 0x00, 0x00, 0x00, 0x00, /* Reserved */ in test_recv_and_send_ack_reply()
1082 0xfe, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, in test_recv_and_send_ack_reply()
1083 0x70, 0x14, 0xa6, 0x1c, 0x00, 0x4b, 0x12, 0x00, /* Target Address */ in test_recv_and_send_ack_reply()
1084 0x01, /* ICMPv6 Option: Source LL address */ in test_recv_and_send_ack_reply()
1085 0x02, /* Length */ in test_recv_and_send_ack_reply()
1086 0xe5, 0xac, 0xa1, 0x1c, 0x00, 0x4b, 0x12, 0x00, /* LL address */ in test_recv_and_send_ack_reply()
1087 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* Padding */ in test_recv_and_send_ack_reply()
1090 struct sockaddr_ll recv_src_sll = {0}; in test_recv_and_send_ack_reply()
1096 uint8_t received_payload[80] = {0}; in test_recv_and_send_ack_reply()
1099 .tv_usec = 0, in test_recv_and_send_ack_reply()
1112 if (fd < 0) { in test_recv_and_send_ack_reply()
1136 if (net_recv_data(net_iface, rx_pkt) < 0) { in test_recv_and_send_ack_reply()
1142 received_len = zsock_recvfrom(fd, received_payload, sizeof(received_payload), 0, in test_recv_and_send_ack_reply()
1144 if (received_len < 0) { in test_recv_and_send_ack_reply()
1379 uint16_t src_short_addr = htons(0x1234); in ZTEST()
1390 uint16_t dst_short_addr = htons(0x1234); in ZTEST()
1404 uint8_t src_ext_addr[8] = {0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08}; in ZTEST()
1415 uint8_t dst_ext_addr[8] = {0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08}; in ZTEST()
1426 uint8_t src_ext_addr[8] = {0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08}; in ZTEST()