Home
last modified time | relevance | path

Searched refs:mac_addr (Results 1 – 7 of 7) sorted by relevance

/NetX-Duo-v6.2.1/common/src/
Dnx_icmpv6_send_ns.c215 USHORT *mac_addr; in _nx_icmpv6_send_ns() local
226 mac_addr = &nd_options -> nx_icmpv6_option_data; in _nx_icmpv6_send_ns()
227mac_addr[0] = (USHORT)(outgoing_address -> nxd_ipv6_address_attached -> nx_interface_physical_addr… in _nx_icmpv6_send_ns()
228mac_addr[1] = (USHORT)((outgoing_address -> nxd_ipv6_address_attached -> nx_interface_physical_add… in _nx_icmpv6_send_ns()
229mac_addr[2] = (USHORT)(outgoing_address -> nxd_ipv6_address_attached -> nx_interface_physical_addr… in _nx_icmpv6_send_ns()
232 NX_CHANGE_USHORT_ENDIAN(mac_addr[0]); in _nx_icmpv6_send_ns()
233 NX_CHANGE_USHORT_ENDIAN(mac_addr[1]); /* lgtm[cpp/overflow-buffer] */ in _nx_icmpv6_send_ns()
234 NX_CHANGE_USHORT_ENDIAN(mac_addr[2]); /* lgtm[cpp/overflow-buffer] */ in _nx_icmpv6_send_ns()
284 UCHAR *mac_addr; in _nx_icmpv6_send_ns() local
285 mac_addr = NDCacheEntry -> nx_nd_cache_mac_addr; in _nx_icmpv6_send_ns()
[all …]
Dnx_icmpv6_send_queued_packets.c81 UCHAR *mac_addr; in _nx_icmpv6_send_queued_packets() local
101 mac_addr = nd_entry -> nx_nd_cache_mac_addr; in _nx_icmpv6_send_queued_packets()
104 driver_request.nx_ip_driver_physical_address_msw = ((ULONG)(mac_addr[0]) << 8) | mac_addr[1]; in _nx_icmpv6_send_queued_packets()
105 …ysical_address_lsw = ((ULONG)(mac_addr[2]) << 24) | ((ULONG)(mac_addr[3]) << 16) | ((ULONG)(mac_a… in _nx_icmpv6_send_queued_packets()
Dnx_icmpv6_send_rs.c83 USHORT *mac_addr; in _nx_icmpv6_send_rs() local
164 mac_addr = &rs_options -> nx_icmpv6_option_data; in _nx_icmpv6_send_rs()
165 mac_addr[0] = (USHORT)(ip_ptr -> nx_ip_interface[if_index].nx_interface_physical_address_msw); in _nx_icmpv6_send_rs()
166mac_addr[1] = (USHORT)((ip_ptr -> nx_ip_interface[if_index].nx_interface_physical_address_lsw & 0x… in _nx_icmpv6_send_rs()
167mac_addr[2] = (USHORT)(ip_ptr -> nx_ip_interface[if_index].nx_interface_physical_address_lsw & 0x0… in _nx_icmpv6_send_rs()
170 NX_CHANGE_USHORT_ENDIAN(mac_addr[0]); in _nx_icmpv6_send_rs()
171 NX_CHANGE_USHORT_ENDIAN(mac_addr[1]); /* lgtm[cpp/overflow-buffer] */ in _nx_icmpv6_send_rs()
172 NX_CHANGE_USHORT_ENDIAN(mac_addr[2]); /* lgtm[cpp/overflow-buffer] */ in _nx_icmpv6_send_rs()
Dnx_icmpv6_process_ns.c101 USHORT *mac_addr; in _nx_icmpv6_process_ns() local
432 mac_addr = &option_ptr -> nx_icmpv6_option_data; in _nx_icmpv6_process_ns()
434mac_addr[0] = (USHORT)(interface_addr -> nxd_ipv6_address_attached -> nx_interface_physical_addres… in _nx_icmpv6_process_ns()
435mac_addr[1] = (USHORT)((interface_addr -> nxd_ipv6_address_attached -> nx_interface_physical_addre… in _nx_icmpv6_process_ns()
436mac_addr[2] = (USHORT)(interface_addr -> nxd_ipv6_address_attached -> nx_interface_physical_addres… in _nx_icmpv6_process_ns()
438 NX_CHANGE_USHORT_ENDIAN(mac_addr[0]); in _nx_icmpv6_process_ns()
439 NX_CHANGE_USHORT_ENDIAN(mac_addr[1]); /* lgtm[cpp/overflow-buffer] */ in _nx_icmpv6_process_ns()
440 NX_CHANGE_USHORT_ENDIAN(mac_addr[2]); /* lgtm[cpp/overflow-buffer] */ in _nx_icmpv6_process_ns()
Dnx_ipv6_packet_send.c365 UCHAR *mac_addr; in _nx_ipv6_packet_send() local
367 mac_addr = NDCacheEntry -> nx_nd_cache_mac_addr; in _nx_ipv6_packet_send()
370 … driver_request.nx_ip_driver_physical_address_msw = ((ULONG)mac_addr[0] << 8) | mac_addr[1]; in _nx_ipv6_packet_send()
372 … ((ULONG)mac_addr[2] << 24) | ((ULONG)mac_addr[3] << 16) | ((ULONG)mac_addr[4] << 8) | mac_addr[5]; in _nx_ipv6_packet_send()
/NetX-Duo-v6.2.1/test/regression/netxduo_test/
Dnetx_nd_cache_nxe_api_test.c84 CHAR mac_addr[6]; in thread_0_entry() local
108 mac_addr[0] = 0x00; in thread_0_entry()
109 mac_addr[0] = 0x11; in thread_0_entry()
110 mac_addr[0] = 0x22; in thread_0_entry()
111 mac_addr[0] = 0x33; in thread_0_entry()
112 mac_addr[0] = 0x44; in thread_0_entry()
113 mac_addr[0] = 0x58; in thread_0_entry()
157 status = nxd_nd_cache_entry_set(NX_NULL, &ipv6_address.nxd_ip_address.v6[0], 0, mac_addr); in thread_0_entry()
171 status = nxd_nd_cache_entry_set(&invalid_ip, &ipv6_address.nxd_ip_address.v6[0], 0, mac_addr); in thread_0_entry()
182 status = nxd_nd_cache_entry_set(&ip_0, NX_NULL, 0, mac_addr); in thread_0_entry()
[all …]
/NetX-Duo-v6.2.1/addons/BSD/
Dnxd_bsd.c12524 UCHAR *mac_addr; in _nxd_bsd_ipv6_packet_send() local
12526 mac_addr = NDCacheEntry -> nx_nd_cache_mac_addr; in _nxd_bsd_ipv6_packet_send()
12532 … driver_request.nx_ip_driver_physical_address_msw = (ULONG)((mac_addr[0] << 8) | mac_addr[1]); in _nxd_bsd_ipv6_packet_send()
12534 … (ULONG)((mac_addr[2] << 24) | (mac_addr[3] << 16) | (mac_addr[4] << 8) | mac_addr[5]); in _nxd_bsd_ipv6_packet_send()