Searched refs:IEEE802154_EXT_ADDR_LENGTH (Results 1 – 9 of 9) sorted by relevance
/Zephyr-latest/subsys/net/l2/ieee802154/ |
D | ieee802154_mgmt.c | 60 ctx->scan_ctx->len = IEEE802154_EXT_ADDR_LENGTH; in ieee802154_handle_beacon() 63 IEEE802154_EXT_ADDR_LENGTH); in ieee802154_handle_beacon() 251 ctx->linkaddr.len = IEEE802154_EXT_ADDR_LENGTH; in set_linkaddr_to_ext_addr() 252 sys_memcpy_swap(ctx->linkaddr.addr, ctx->ext_addr, IEEE802154_EXT_ADDR_LENGTH); in set_linkaddr_to_ext_addr() 369 IEEE802154_EXT_ADDR_LENGTH); in ieee802154_handle_mac_command() 423 IEEE802154_EXT_ADDR_LENGTH)) { in ieee802154_handle_mac_command() 481 } else if (req->len == IEEE802154_EXT_ADDR_LENGTH) { in ieee802154_associate() 554 sys_memcpy_swap(ctx->coord_ext_addr, req->addr, IEEE802154_EXT_ADDR_LENGTH); in ieee802154_associate() 597 uint8_t ext_addr_le[IEEE802154_EXT_ADDR_LENGTH]; in ieee802154_associate() 599 __ASSERT_NO_MSG(req->len == IEEE802154_EXT_ADDR_LENGTH); in ieee802154_associate() [all …]
|
D | ieee802154_shell.c | 75 return net_bytes_from_str(ext_addr, IEEE802154_EXT_ADDR_LENGTH, addr); in parse_extended_address() 110 params.len = IEEE802154_EXT_ADDR_LENGTH; in cmd_ieee802154_associate() 193 if (params.len == IEEE802154_EXT_ADDR_LENGTH) { in print_coordinator_address() 198 for (i = 0; i < IEEE802154_EXT_ADDR_LENGTH; i++) { in print_coordinator_address() 431 uint8_t addr[IEEE802154_EXT_ADDR_LENGTH]; /* in big endian */ in cmd_ieee802154_set_ext_addr() 457 addr, IEEE802154_EXT_ADDR_LENGTH)) { in cmd_ieee802154_set_ext_addr() 474 uint8_t addr[IEEE802154_EXT_ADDR_LENGTH]; /* in big endian */ in cmd_ieee802154_get_ext_addr() 483 addr, IEEE802154_EXT_ADDR_LENGTH)) { in cmd_ieee802154_get_ext_addr() 491 for (i = 0; i < IEEE802154_EXT_ADDR_LENGTH; i++) { in cmd_ieee802154_get_ext_addr()
|
D | ieee802154_frame.c | 119 len += IEEE802154_EXT_ADDR_LENGTH; in validate_addr() 227 (pas->nb_eap * IEEE802154_EXT_ADDR_LENGTH); in ieee802514_beacon_header_length() 556 if (dst->len == IEEE802154_EXT_ADDR_LENGTH) { in get_dst_addr_mode() 580 __ASSERT_NO_MSG(dst->len == IEEE802154_EXT_ADDR_LENGTH); in data_addr_to_fs_settings() 582 params->dst.len = IEEE802154_EXT_ADDR_LENGTH; in data_addr_to_fs_settings() 615 IEEE802154_EXT_ADDR_LENGTH); in generate_addressing_fields() 616 p_buf += IEEE802154_EXT_ADDR_LENGTH; in generate_addressing_fields() 639 memcpy(src_addr->ext_addr, ctx->ext_addr, IEEE802154_EXT_ADDR_LENGTH); in generate_addressing_fields() 640 p_buf += IEEE802154_EXT_ADDR_LENGTH; in generate_addressing_fields() 697 uint8_t ext_addr_le[IEEE802154_EXT_ADDR_LENGTH]; in ieee802154_create_data_frame() [all …]
|
D | ieee802154.c | 258 addr->len = IEEE802154_EXT_ADDR_LENGTH; in swap_and_set_pkt_ll_addr() 338 IEEE802154_EXT_ADDR_LENGTH) != 0) { in ieee802154_check_dst_addr() 647 sys_memcpy_swap(ctx->ext_addr, eui64_be, IEEE802154_EXT_ADDR_LENGTH); in ieee802154_init() 655 ctx->linkaddr.len = IEEE802154_EXT_ADDR_LENGTH; in ieee802154_init() 656 memcpy(ctx->linkaddr.addr, eui64_be, IEEE802154_EXT_ADDR_LENGTH); in ieee802154_init() 673 sys_memcpy_swap(ctx->ext_addr, eui64_be, IEEE802154_EXT_ADDR_LENGTH); in ieee802154_init()
|
D | ieee802154_security.c | 148 memcpy(nonce, src_ext_addr, IEEE802154_EXT_ADDR_LENGTH); in ieee802154_decrypt_auth() 191 memcpy(nonce, src_ext_addr, IEEE802154_EXT_ADDR_LENGTH); in ieee802154_encrypt_auth()
|
D | ieee802154_frame.h | 455 uint8_t ext_addr[IEEE802154_EXT_ADDR_LENGTH]; /* in big endian */
|
/Zephyr-latest/include/zephyr/net/ |
D | ieee802154.h | 144 #define IEEE802154_EXT_ADDR_LENGTH 8 macro 147 #define IEEE802154_MAX_ADDR_LENGTH IEEE802154_EXT_ADDR_LENGTH
|
/Zephyr-latest/tests/net/ieee802154/l2/src/ |
D | ieee802154_shell_test.c | 66 zassert_equal(scan_ctx->len, IEEE802154_EXT_ADDR_LENGTH, in scan_result_cb() 68 zassert_mem_equal(scan_ctx->addr, expected_coordinator_address, IEEE802154_EXT_ADDR_LENGTH); in scan_result_cb() 277 .len = IEEE802154_EXT_ADDR_LENGTH, in ZTEST() 321 uint8_t empty_coord_addr[IEEE802154_EXT_ADDR_LENGTH] = {0}; in ZTEST() 323 uint8_t mock_ext_addr_le[IEEE802154_EXT_ADDR_LENGTH]; in ZTEST() 366 uint8_t empty_coord_addr[IEEE802154_EXT_ADDR_LENGTH] = {0}; in ZTEST() 368 uint8_t mock_ext_addr_le[IEEE802154_EXT_ADDR_LENGTH]; in ZTEST() 371 .len = IEEE802154_EXT_ADDR_LENGTH, in ZTEST()
|
D | ieee802154_test.c | 777 uint8_t our_ext_addr[IEEE802154_EXT_ADDR_LENGTH]; /* big endian */ in test_dgram_packet_reception() 817 src_ll_addr_len == IEEE802154_EXT_ADDR_LENGTH) { in test_dgram_packet_reception() 844 } else if (src_ll_addr_len == IEEE802154_EXT_ADDR_LENGTH) { in test_dgram_packet_reception() 1149 sys_memcpy_swap(mac_be, ctx->ext_addr, IEEE802154_EXT_ADDR_LENGTH); in test_recv_and_send_ack_reply() 1153 recv_src_sll.sll_halen != IEEE802154_EXT_ADDR_LENGTH || in test_recv_and_send_ack_reply() 1154 memcmp(recv_src_sll.sll_addr, mac_be, IEEE802154_EXT_ADDR_LENGTH)) { in test_recv_and_send_ack_reply()
|