Home
last modified time | relevance | path

Searched refs:sin_port (Results 1 – 4 of 4) sorted by relevance

/NetX-Duo-v6.3.0/samples/
Ddemo_bsd_udp.c156 echoServAddr.sin_port = htons(SERVER_PORT); in thread_server_entry()
182 (UINT)fromAddr.sin_addr.s_addr, (ULONG)fromAddr.sin_port); in thread_server_entry()
239 destAddr.sin_port = htons(SERVER_PORT); in thread_client_entry()
273 (UINT)fromAddr.sin_addr.s_addr, (ULONG)fromAddr.sin_port); in thread_client_entry()
Ddemo_bsd_tcp.c240 serverAddr.sin_port = htons(SERVER_PORT); in thread_server_entry()
447 localAddr.sin_port = htons(CLIENT_PORT); in thread_client_entry()
452 echoServAddr.sin_port = htons(SERVER_PORT); in thread_client_entry()
514 …printf("Client port = %lu , Client = 0x%x,", (ULONG)localAddr.sin_port, (UINT)localAddr.sin_addr.s… in thread_client_entry()
517 …printf("Remote port = %lu, Remote IP = 0x%x \n", (ULONG)remoteAddr.sin_port, (UINT)remoteAddr.sin_… in thread_client_entry()
/NetX-Duo-v6.3.0/addons/BSD/
Dnxd_bsd.c1414 …tr -> nx_bsd_socket_peer_port = htons(((struct nx_bsd_sockaddr_in *) remoteAddress ) -> sin_port); in nx_bsd_connect()
1968 local_port = ntohs(((struct nx_bsd_sockaddr_in *) localAddress) -> sin_port); in nx_bsd_bind()
2993 …peer4_address.sin_port = ntohs((USHORT)bsd_secondary_socket -> nx_bsd_socket_tcp_socket -> … in nx_bsd_accept()
3906 peer_port = htons(((struct nx_bsd_sockaddr_in *) destAddr) -> sin_port); in nx_bsd_sendto()
4622 peer4_address.sin_port = htons(bsd_socket_ptr -> nx_bsd_socket_peer_port); in nx_bsd_recvfrom()
4631 … peer4_address.sin_port = ntohs((USHORT)bsd_socket_ptr -> nx_bsd_socket_source_port); in nx_bsd_recvfrom()
7118 soc_struct.sin_port = htons((USHORT)bsd_socket_ptr -> nx_bsd_socket_local_port); in nx_bsd_getsockname()
7402 …soc_struct_ptr -> sin_port = htons((USHORT)bsd_socket_ptr -> nx_bsd_socket_tcp_socket -> n… in nx_bsd_getpeername()
7442 soc_struct_ptr -> sin_port = 0; in nx_bsd_getpeername()
14253 ((struct nx_bsd_sockaddr_in*)sockaddr_ptr) -> sin_port = (USHORT)port; in nx_bsd_getaddrinfo()
Dnxd_bsd.h676 USHORT sin_port; /* Address port (16 bits). */ member