Home
last modified time | relevance | path

Searched refs:local_port (Results 1 – 13 of 13) sorted by relevance

/NetX-Duo-v6.4.1/test/regression/nat_test/
Dnetx_nat_tcp_remove_oldest_udp_entry_test.c92 …y(UINT protocol, ULONG local_ip_address , ULONG peer_ip_address , UINT local_port, UINT peer_port,…
251 UINT local_port; in thread_client_entry() local
293 local_port = CONNECT_LOCAL_PORT; in thread_client_entry()
324 oldest_local_port = local_port; in thread_client_entry()
349 oldest_local_port = local_port; in thread_client_entry()
376 oldest_local_port = local_port; in thread_client_entry()
411 oldest_local_port = local_port; in thread_client_entry()
424 …status = add_nat_entry(protocol, local_ip_address , peer_ip_address , local_port, peer_port, timeo… in thread_client_entry()
430 local_port ++; in thread_client_entry()
438 local_port += 100; in thread_client_entry()
[all …]
Dnetx_nat_entry_removed_after_timeout_test.c240 UINT local_port; in thread_client_entry() local
282 local_port = CONNECT_LOCAL_PORT; in thread_client_entry()
300 status = nx_udp_socket_bind(&udp_socket, local_port, TX_WAIT_FOREVER); in thread_client_entry()
356 status = nx_tcp_client_socket_bind(&tcp_socket, local_port, NX_WAIT_FOREVER); in thread_client_entry()
399 search_entry.local_port = CONNECT_LOCAL_PORT+2; in thread_client_entry()
410 search_entry.local_port = CONNECT_LOCAL_PORT+1; in thread_client_entry()
422 search_entry.local_port = CONNECT_LOCAL_PORT; in thread_client_entry()
456 (search_entry.local_port == entry_ptr -> local_port)) in thread_client_entry()
492 (search_entry.local_port == entry_ptr -> local_port)) in thread_client_entry()
519 local_port ++; in thread_client_entry()
/NetX-Duo-v6.4.1/nx_secure/src/
Dnxe_secure_dtls_session_client_info_get.c71 … NXD_ADDRESS *client_ip_address, UINT *client_port, UINT *local_port) in _nxe_secure_dtls_session_client_info_get() argument
79 client_port == NX_NULL || local_port == NX_NULL) in _nxe_secure_dtls_session_client_info_get()
100 … _nx_secure_dtls_session_client_info_get(dtls_session, client_ip_address, client_port, local_port); in _nxe_secure_dtls_session_client_info_get()
107 NX_PARAMETER_NOT_USED(local_port); in _nxe_secure_dtls_session_client_info_get()
Dnx_secure_dtls_session_cache.c74 …ete(NX_SECURE_DTLS_SERVER *dtls_server, NXD_ADDRESS *ip_address, UINT remote_port, UINT local_port) in nx_secure_dtls_session_cache_delete() argument
92 session_array[i].nx_secure_dtls_local_port != local_port) in nx_secure_dtls_session_cache_delete()
184 … NX_SECURE_DTLS_SESSION **dtls_session, NXD_ADDRESS *ip_address, UINT remote_port, UINT local_port) in nx_secure_dtls_session_cache_get_new() argument
205 session_array[i].nx_secure_dtls_local_port = local_port; in nx_secure_dtls_session_cache_get_new()
281 … NX_SECURE_DTLS_SESSION **dtls_session, NXD_ADDRESS *ip_address, UINT remote_port, UINT local_port) in nx_secure_dtls_session_cache_find() argument
304 if (session_array[i].nx_secure_dtls_local_port != local_port) in nx_secure_dtls_session_cache_find()
Dnx_secure_dtls_session_client_info_get.c71 … NXD_ADDRESS *client_ip_address, UINT *client_port, UINT *local_port) in _nx_secure_dtls_session_client_info_get() argument
111 *local_port = dtls_session->nx_secure_dtls_local_port; in _nx_secure_dtls_session_client_info_get()
118 NX_PARAMETER_NOT_USED(local_port); in _nx_secure_dtls_session_client_info_get()
Dnx_secure_dtls_receive_callback.c94 UINT local_port; in _nx_secure_dtls_receive_callback() local
119 status = _nx_udp_socket_port_get(socket_ptr, &local_port); in _nx_secure_dtls_receive_callback()
130 …x_secure_dtls_session_cache_find(dtls_server, &dtls_session, &ip_address, remote_port, local_port); in _nx_secure_dtls_receive_callback()
168 …ecure_dtls_session_cache_get_new(dtls_server, &dtls_session, &ip_address, remote_port, local_port); in _nx_secure_dtls_receive_callback()
/NetX-Duo-v6.4.1/addons/nat/
Dnx_nat.c67 …USHORT local_port, USHORT external_port, USHORT peer_port, ULONG response_timeout, NX_NAT_TRANSL…
795 … ULONG local_ip_address, USHORT external_port, USHORT local_port, UCHAR protocol) in _nxe_nat_inbound_entry_create() argument
816 …at_inbound_entry_create(nat_ptr, entry_ptr, local_ip_address, external_port, local_port, protocol); in _nxe_nat_inbound_entry_create()
876 … ULONG local_ip_address, USHORT external_port, USHORT local_port, UCHAR protocol) in _nx_nat_inbound_entry_create() argument
918 entry_ptr -> local_port = local_port; in _nx_nat_inbound_entry_create()
1567 if (record_entry -> external_port != record_entry -> local_port) in _nx_nat_process_inbound_TCP_packet()
1573 ((ULONG) record_entry -> local_port); in _nx_nat_process_inbound_TCP_packet()
1589 if (record_entry -> external_port != record_entry -> local_port) in _nx_nat_process_inbound_TCP_packet()
1594 new_port = record_entry -> local_port; in _nx_nat_process_inbound_TCP_packet()
1767 if (record_entry -> external_port != record_entry -> local_port) in _nx_nat_process_inbound_UDP_packet()
[all …]
Dnx_nat.h197 …USHORT local_port; /* Port of the local (priv… member
272 …N_ENTRY *entry_ptr, ULONG local_ip_address, UINT external_port, USHORT local_port, UCHAR protocol);
289 …ENTRY *entry_ptr, ULONG local_ip_address, USHORT external_port, USHORT local_port, UCHAR protocol);
290 …ENTRY *entry_ptr, ULONG local_ip_address, USHORT external_port, USHORT local_port, UCHAR protocol);
/NetX-Duo-v6.4.1/nx_secure/inc/
Dnx_secure_dtls.h313 … NXD_ADDRESS *client_ip_address, UINT *client_port, UINT *local_port);
405 … NXD_ADDRESS *client_ip_address, UINT *client_port, UINT *local_port);
498 …te(NX_SECURE_DTLS_SERVER *dtls_server, NXD_ADDRESS *ip_address, UINT remote_port, UINT local_port);
499 …NX_SECURE_DTLS_SESSION **dtls_session, NXD_ADDRESS *ip_address, UINT remote_port, UINT local_port);
500 …NX_SECURE_DTLS_SESSION **dtls_session, NXD_ADDRESS *ip_address, UINT remote_port, UINT local_port);
Dnx_secure_dtls_api.h214 … NXD_ADDRESS *client_ip_address, UINT *client_port, UINT *local_port);
/NetX-Duo-v6.4.1/test/regression/nx_secure_test/
Dnx_secure_dtls_nxe_api_test.c45 UINT local_port, client_port; in thread_0_entry() local
76 …ure_dtls_session_client_info_get(&dtls_uninitialized_session, &address, &client_port, &local_port); in thread_0_entry()
/NetX-Duo-v6.4.1/addons/BSD/
Dnxd_bsd.c158 static VOID nx_bsd_tcp_pending_connection(UINT local_port, NX_TCP_SOCKET *socket_ptr);
1854 INT local_port = 0; in nx_bsd_bind() local
2001 local_port = ntohs(((struct nx_bsd_sockaddr_in *) localAddress) -> sin_port); in nx_bsd_bind()
2038 local_port = ntohs(((struct nx_bsd_sockaddr_in6 *) localAddress) -> sin6_port); in nx_bsd_bind()
2102 if(local_port) in nx_bsd_bind()
2122 if(nx_bsd_socket_array[i].nx_bsd_socket_local_port == (USHORT)local_port) in nx_bsd_bind()
2199 bsd_socket_ptr -> nx_bsd_socket_local_port = (USHORT)local_port; in nx_bsd_bind()
2215 bsd_socket_ptr -> nx_bsd_socket_local_port = (USHORT)local_port; in nx_bsd_bind()
2232 … UINT index = (UINT) ((local_port + (local_port >> 8)) & NX_TCP_PORT_TABLE_MASK); in nx_bsd_bind()
2235 socket_ptr -> nx_tcp_socket_port = (UINT)local_port; in nx_bsd_bind()
[all …]
/NetX-Duo-v6.4.1/common/inc/
Dnx_api.h2427 … UINT local_port, UINT *remote_port, UINT wait_option);