Home
last modified time | relevance | path

Searched refs:address_index (Results 1 – 25 of 78) sorted by relevance

1234

/NetX-Duo-v6.2.1/common/src/
Dnxde_icmp_source_ping.c84 UINT _nxde_icmp_source_ping(NX_IP *ip_ptr, NXD_ADDRESS *ip_address, UINT address_index, in _nxde_icmp_source_ping() argument
116 if (address_index >= NX_MAX_IP_INTERFACES) in _nxde_icmp_source_ping()
135 if ((address_index >= (NX_MAX_IPV6_ADDRESSES + NX_LOOPBACK_IPV6_ENABLED)) || in _nxde_icmp_source_ping()
136 (ip_ptr -> nx_ipv6_address[address_index].nxd_ipv6_address_attached == NX_NULL) || in _nxde_icmp_source_ping()
137 (ip_ptr -> nx_ipv6_address[address_index].nxd_ipv6_address_valid == NX_FALSE)) in _nxde_icmp_source_ping()
157 status = _nxd_icmp_source_ping(ip_ptr, ip_address, address_index, data_ptr, data_size, in _nxde_icmp_source_ping()
Dnxe_ip_raw_packet_source_send.c84 … ULONG destination_ip, UINT address_index, ULONG type_of_service) in _nxe_ip_raw_packet_source_send() argument
136 if (address_index >= NX_MAX_IP_INTERFACES) in _nxe_ip_raw_packet_source_send()
141 if (!(ip_ptr -> nx_ip_interface[address_index].nx_interface_valid)) in _nxe_ip_raw_packet_source_send()
151 … _nx_ip_raw_packet_source_send(ip_ptr, packet_ptr, destination_ip, address_index, type_of_service); in _nxe_ip_raw_packet_source_send()
164 NX_PARAMETER_NOT_USED(address_index); in _nxe_ip_raw_packet_source_send()
Dnxde_ipv6_address_delete.c84 UINT address_index) in _nxde_ipv6_address_delete() argument
98 if (address_index >= NX_MAX_IPV6_ADDRESSES) in _nxde_ipv6_address_delete()
107 status = _nxd_ipv6_address_delete(ip_ptr, address_index); in _nxde_ipv6_address_delete()
114 NX_PARAMETER_NOT_USED(address_index); in _nxde_ipv6_address_delete()
Dnxd_ipv6_address_get.c85 UINT _nxd_ipv6_address_get(NX_IP *ip_ptr, UINT address_index, NXD_ADDRESS *ip_address, in _nxd_ipv6_address_get() argument
107 interface_ipv6_address_next = &ip_ptr -> nx_ipv6_address[address_index]; in _nxd_ipv6_address_get()
126 …*interface_index = (UINT)ip_ptr -> nx_ipv6_address[address_index].nxd_ipv6_address_attached -> nx_… in _nxd_ipv6_address_get()
149 …E_IPV6_INTERFACE_ADDRESS_GET, ip_ptr, ip_address_lsw, *prefix_length, address_index, NX_TRACE_IP_E… in _nxd_ipv6_address_get()
157 NX_PARAMETER_NOT_USED(address_index); in _nxd_ipv6_address_get()
Dnxde_ipv6_address_get.c89 UINT _nxde_ipv6_address_get(NX_IP *ip_ptr, UINT address_index, NXD_ADDRESS *ip_address, ULONG *pre… in _nxde_ipv6_address_get() argument
109 if (address_index >= (NX_MAX_IPV6_ADDRESSES + NX_LOOPBACK_IPV6_ENABLED)) in _nxde_ipv6_address_get()
118 …status = _nxd_ipv6_address_get(ip_ptr, address_index, ip_address, prefix_length, interface_index); in _nxde_ipv6_address_get()
125 NX_PARAMETER_NOT_USED(address_index); in _nxde_ipv6_address_get()
Dnxe_udp_socket_source_send.c85 ULONG ip_address, UINT port, UINT address_index) in _nxe_udp_socket_source_send() argument
141 if (address_index >= NX_MAX_IP_INTERFACES) in _nxe_udp_socket_source_send()
146 if (!(ip_ptr -> nx_ip_interface[address_index].nx_interface_valid)) in _nxe_udp_socket_source_send()
190 status = _nx_udp_socket_source_send(socket_ptr, packet_ptr, ip_address, port, address_index); in _nxe_udp_socket_source_send()
209 NX_PARAMETER_NOT_USED(address_index); in _nxe_udp_socket_source_send()
Dnxd_ipv6_address_delete.c75 UINT _nxd_ipv6_address_delete(NX_IP *ip_ptr, UINT address_index) in _nxd_ipv6_address_delete() argument
96 ipv6_address = &ip_ptr -> nx_ipv6_address[address_index]; in _nxd_ipv6_address_delete()
155 ipv6_address -> nxd_ipv6_address_index = (UCHAR)address_index; in _nxd_ipv6_address_delete()
171 …(address_change_notify)(ip_ptr, NX_IPV6_ADDRESS_MANUAL_DELETE, if_index, address_index, &obsoleted… in _nxd_ipv6_address_delete()
180 NX_PARAMETER_NOT_USED(address_index); in _nxd_ipv6_address_delete()
Dnxde_ip_raw_packet_source_send.c87 … NXD_ADDRESS *destination_ip, UINT address_index, ULONG protocol, UINT ttl, ULONG tos) in _nxde_ip_raw_packet_source_send() argument
121 if (address_index >= NX_MAX_IP_INTERFACES) in _nxde_ip_raw_packet_source_send()
147 if (address_index >= (NX_MAX_IPV6_ADDRESSES + NX_LOOPBACK_IPV6_ENABLED)) in _nxde_ip_raw_packet_source_send()
172 …status = _nxd_ip_raw_packet_source_send(ip_ptr, packet_ptr, destination_ip, address_index, protoco… in _nxde_ip_raw_packet_source_send()
Dnxde_udp_socket_source_send.c89 NXD_ADDRESS *ip_address, UINT port, UINT address_index) in _nxde_udp_socket_source_send() argument
112 if (address_index >= NX_MAX_IP_INTERFACES) in _nxde_udp_socket_source_send()
130 if (address_index >= (NX_MAX_IPV6_ADDRESSES + NX_LOOPBACK_IPV6_ENABLED)) in _nxde_udp_socket_source_send()
192 status = _nxd_udp_socket_source_send(socket_ptr, packet_ptr, ip_address, port, address_index); in _nxde_udp_socket_source_send()
Dnxd_udp_socket_source_send.c77 NXD_ADDRESS *ip_address, UINT port, UINT address_index) in _nxd_udp_socket_source_send() argument
89 …ket_ptr -> nx_packet_address.nx_packet_interface_ptr = &(ip_ptr -> nx_ip_interface[address_index]); in _nxd_udp_socket_source_send()
96 …et_ptr -> nx_packet_address.nx_packet_ipv6_address_ptr = &ip_ptr -> nx_ipv6_address[address_index]; in _nxd_udp_socket_source_send()
Dnxd_icmp_source_ping.c85 UINT _nxd_icmp_source_ping(NX_IP *ip_ptr, NXD_ADDRESS *ip_address, UINT address_index, in _nxd_icmp_source_ping() argument
101 interface_ptr = &ip_ptr -> nx_ip_interface[address_index]; in _nxd_icmp_source_ping()
117 … &ip_ptr -> nx_ipv6_address[address_index], response_ptr, wait_option); in _nxd_icmp_source_ping()
Dnxde_ipv6_address_set.c86 …et(NX_IP *ip_ptr, UINT if_index, NXD_ADDRESS *ip_address, ULONG prefix_length, UINT *address_index) in _nxde_ipv6_address_set() argument
136 status = _nxd_ipv6_address_set(ip_ptr, if_index, ip_address, prefix_length, address_index); in _nxde_ipv6_address_set()
146 NX_PARAMETER_NOT_USED(address_index); in _nxde_ipv6_address_set()
Dnx_ip_raw_packet_source_send.c80 ULONG destination_ip, UINT address_index, ULONG type_of_service) in _nx_ip_raw_packet_source_send() argument
90 …ket_ptr -> nx_packet_address.nx_packet_interface_ptr = &(ip_ptr -> nx_ip_interface[address_index]); in _nx_ip_raw_packet_source_send()
114 NX_PARAMETER_NOT_USED(address_index); in _nx_ip_raw_packet_source_send()
Dnxd_ip_raw_packet_source_send.c88 UINT address_index, in _nxd_ip_raw_packet_source_send() argument
115 …ket_ptr -> nx_packet_address.nx_packet_interface_ptr = &(ip_ptr -> nx_ip_interface[address_index]); in _nxd_ip_raw_packet_source_send()
133 …_ptr -> nx_packet_address.nx_packet_ipv6_address_ptr = &(ip_ptr -> nx_ipv6_address[address_index]); in _nxd_ip_raw_packet_source_send()
Dnx_udp_socket_source_send.c78 ULONG ip_address, UINT port, UINT address_index) in _nx_udp_socket_source_send() argument
88 …ket_ptr -> nx_packet_address.nx_packet_interface_ptr = &(ip_ptr -> nx_ip_interface[address_index]); in _nx_udp_socket_source_send()
/NetX-Duo-v6.2.1/test/regression/netxduo_test/
Dnetx_icmpv6_ra_address_full_test.c106 UINT address_index; in thread_0_entry() local
129 while (nxd_ipv6_address_set(&ip_0, 0, &ipv6_address, 10, &address_index) == NX_SUCCESS) in thread_0_entry()
153 for (address_index = 0; address_index < NX_MAX_IPV6_ADDRESSES; address_index++) in thread_0_entry()
155 … if (nxd_ipv6_address_get(&ip_0, address_index, &ipv6_address, &prefix_length, &interface_index)) in thread_0_entry()
Dnetx_ipv6_prefix_test.c251 UINT address_index; in thread_0_entry() local
279 status = nxd_ipv6_address_set(&ip_0, 0, NX_NULL, 10, &address_index); in thread_0_entry()
289 …status = nxd_ipv6_address_get(&ip_0, address_index, &ipv6_address, &prefix_length, &interface_inde… in thread_0_entry()
325 …status = nxd_ipv6_address_get(&ip_0, address_index + 1, &ipv6_address, &prefix_length, &interface_… in thread_0_entry()
332 …status = nxd_ipv6_address_get(&ip_0, address_index + 2, &ipv6_address, &prefix_length, &interface_… in thread_0_entry()
Dnetx_icmpv6_solicitated_ra_test.c106 UINT address_index; in thread_0_entry() local
129 status = nxd_ipv6_address_set(&ip_0, 0, &ipv6_address, 10, &address_index); in thread_0_entry()
139 …status = nxd_ipv6_address_get(&ip_0, address_index, &ipv6_address, &prefix_length, &interface_inde… in thread_0_entry()
164 …status = nxd_ipv6_address_get(&ip_0, address_index + 1, &ipv6_address, &prefix_length, &interface_… in thread_0_entry()
Dnetx_nd_cache_with_own_address_test.c96 UINT address_index; in thread_0_entry() local
109 status = nxd_ipv6_address_set(&ip_0, 0, NX_NULL, 10, &address_index); in thread_0_entry()
171 nxd_ipv6_address_delete(&ip_0, address_index); in thread_0_entry()
185 status = nxd_ipv6_address_set(&ip_0, 0, NX_NULL, 10, &address_index); in thread_0_entry()
Dnetx_icmpv6_invalid_length_test.c104 UINT address_index; in thread_0_entry() local
121 status = nxd_ipv6_address_set(&ip_0, 0, NX_NULL, 10, &address_index); in thread_0_entry()
131 …status = nxd_ipv6_address_get(&ip_0, address_index, &ipv6_address, &prefix_length, &interface_inde… in thread_0_entry()
Dnetx_icmpv6_invalid_length_test2.c100 UINT address_index; in thread_0_entry() local
117 status = nxd_ipv6_address_set(&ip_0, 0, NX_NULL, 10, &address_index); in thread_0_entry()
127 …status = nxd_ipv6_address_get(&ip_0, address_index, &ipv6_address, &prefix_length, &interface_inde… in thread_0_entry()
Dnetx_icmpv6_invalid_na.c101 UINT address_index; in thread_0_entry() local
118 status = nxd_ipv6_address_set(&ip_0, 0, NX_NULL, 10, &address_index); in thread_0_entry()
128 …status = nxd_ipv6_address_get(&ip_0, address_index, &ipv6_address, &prefix_length, &interface_inde… in thread_0_entry()
/NetX-Duo-v6.2.1/samples/
Ddemo_netxduo_http.c260 UINT address_index; in thread_client_entry() local
349 status = nxd_ipv6_address_set(&client_ip, iface_index, NX_NULL, 10, &address_index); in thread_client_entry()
350 status += nxd_ipv6_address_set(&client_ip, iface_index, &client_ip_address, 64, &address_index); in thread_client_entry()
435 UINT address_index; in thread_server_entry() local
470 status = nxd_ipv6_address_set(&server_ip, iface_index, NX_NULL, 10, &address_index); in thread_server_entry()
471 status += nxd_ipv6_address_set(&server_ip, iface_index, &server_ip_address, 64, &address_index); in thread_server_entry()
Ddemo_netxduo_telnet.c171 UINT iface_index, address_index; in thread_server_entry() local
207 status = nxd_ipv6_address_set(&ip_server, iface_index, NX_NULL, 10, &address_index); in thread_server_entry()
219 status = nxd_ipv6_address_set(&ip_server, iface_index, &server_ip_address, 64, &address_index); in thread_server_entry()
255 UINT iface_index, address_index; in thread_client_entry() local
300 status = nxd_ipv6_address_set(&ip_client, iface_index, NX_NULL, 10, &address_index); in thread_client_entry()
312 status = nxd_ipv6_address_set(&ip_client, iface_index, &client_ip_address, 64, &address_index); in thread_client_entry()
/NetX-Duo-v6.2.1/common/inc/
Dnx_ipv6.h290 UINT _nxd_ipv6_address_get(NX_IP *ip_ptr, UINT address_index, NXD_ADDRESS *ip_address, ULONG *prefi…
291 … *ip_ptr, UINT interface_index, NXD_ADDRESS *ip_address, ULONG prefix_length, UINT *address_index);
292 UINT _nxd_ipv6_address_delete(NX_IP *ip_ptr, UINT address_index);
293 …change_notfiy)(NX_IP *ip_ptr, UINT status, UINT interface_index, UINT address_index, ULONG *ip_add…
309 UINT _nxde_ipv6_address_get(NX_IP *ip_ptr, UINT address_index, NXD_ADDRESS *ip_address, ULONG *pref…
310 … *ip_ptr, UINT interface_index, NXD_ADDRESS *ip_address, ULONG prefix_length, UINT *address_index);
311 UINT _nxde_ipv6_address_delete(NX_IP *ip_ptr, UINT address_index);
312 …change_notfiy)(NX_IP *ip_ptr, UINT status, UINT interface_index, UINT address_index, ULONG *ip_add…

1234