Lines Matching refs:port
74 static UINT _nx_udp_socket_driver_bind(NX_UDP_SOCKET *socket_ptr, UINT port, ULONG wait_option) in _nx_udp_socket_driver_bind() argument
117 … NX_NULL, NX_NULL, NX_NULL, port, in _nx_udp_socket_driver_bind()
190 UINT _nx_udp_socket_bind(NX_UDP_SOCKET *socket_ptr, UINT port, ULONG wait_option) in _nx_udp_socket_bind() argument
209 …NX_TRACE_IN_LINE_INSERT(NX_TRACE_UDP_SOCKET_BIND, ip_ptr, socket_ptr, port, wait_option, NX_TRACE_… in _nx_udp_socket_bind()
229 if (port == NX_ANY_PORT) in _nx_udp_socket_bind()
233 …port = NX_SEARCH_PORT_START + (UINT)(((ULONG)NX_RAND()) % ((NX_MAX_PORT + 1) - NX_SEARCH_PORT_STAR… in _nx_udp_socket_bind()
234 if (_nx_udp_free_port_find(ip_ptr, port, &port) != NX_SUCCESS) in _nx_udp_socket_bind()
253 bound = (ip_ptr -> nx_ip_nat_port_verify)(ip_ptr, NX_PROTOCOL_UDP, port); in _nx_udp_socket_bind()
270 socket_ptr -> nx_udp_socket_port = port; in _nx_udp_socket_bind()
273 index = (UINT)((port + (port >> 8)) & NX_UDP_PORT_TABLE_MASK); in _nx_udp_socket_bind()
289 if (search_ptr -> nx_udp_socket_port == port) in _nx_udp_socket_bind()
302 if ((search_ptr == NX_NULL) || (search_ptr -> nx_udp_socket_port != port)) in _nx_udp_socket_bind()
424 status = _nx_udp_socket_driver_bind(socket_ptr, port, wait_option); in _nx_udp_socket_bind()