Searched refs:sin_addr (Results 1 – 5 of 5) sorted by relevance
/NetX-Duo-v6.3.0/samples/ |
D | demo_bsd_udp.c | 155 echoServAddr.sin_addr.s_addr = htonl(IP_ADDRESS(1,2,3,4)); in thread_server_entry() 182 (UINT)fromAddr.sin_addr.s_addr, (ULONG)fromAddr.sin_port); in thread_server_entry() 234 ClientAddr.sin_addr.s_addr = htonl(IP_ADDRESS(1,2,3,4)); in thread_client_entry() 238 destAddr.sin_addr.s_addr = htonl(IP_ADDRESS(1,2,3,4)); in thread_client_entry() 273 (UINT)fromAddr.sin_addr.s_addr, (ULONG)fromAddr.sin_port); in thread_client_entry()
|
D | demo_bsd_raw.c | 144 ClientAddr.sin_addr.s_addr = htonl(CLIENT0_IP_ADDRESS); in thread_0_entry() 148 destAddr.sin_addr.s_addr = htonl(CLIENT1_IP_ADDRESS); in thread_0_entry() 255 ClientAddr.sin_addr.s_addr = htonl(CLIENT1_IP_ADDRESS); in thread_1_entry() 259 destAddr.sin_addr.s_addr = htonl(CLIENT0_IP_ADDRESS); in thread_1_entry() 315 printf("Remote IP address 0x%x\n", (UINT)fromAddr.sin_addr.s_addr); in thread_1_entry()
|
D | demo_bsd_tcp.c | 239 serverAddr.sin_addr.s_addr = htonl(IP_ADDRESS(1,2,3,4)); in thread_server_entry() 446 localAddr.sin_addr.s_addr = htonl(IP_ADDRESS(1,2,3,4)); in thread_client_entry() 451 echoServAddr.sin_addr.s_addr = htonl(IP_ADDRESS(1,2,3,4)); in thread_client_entry() 514 …("Client port = %lu , Client = 0x%x,", (ULONG)localAddr.sin_port, (UINT)localAddr.sin_addr.s_addr); in thread_client_entry() 517 …te port = %lu, Remote IP = 0x%x \n", (ULONG)remoteAddr.sin_port, (UINT)remoteAddr.sin_addr.s_addr); in thread_client_entry()
|
/NetX-Duo-v6.3.0/addons/BSD/ |
D | nxd_bsd.c | 1413 …ip.nxd_ip_address.v4 = htonl(((struct nx_bsd_sockaddr_in *) remoteAddress ) -> sin_addr.s_addr); in nx_bsd_connect() 1971 local_addr = ntohl(((struct nx_bsd_sockaddr_in*)localAddress) -> sin_addr.s_addr); in nx_bsd_bind() 2992 …peer4_address.sin_addr.s_addr = ntohl(bsd_secondary_socket -> nx_bsd_socket_tcp_socket -> nx_tcp_s… in nx_bsd_accept() 3905 …_ip_address.nxd_ip_address.v4 = htonl(((struct nx_bsd_sockaddr_in *) destAddr) -> sin_addr.s_addr); in nx_bsd_sendto() 4621 … peer4_address.sin_addr.s_addr = htonl(bsd_socket_ptr -> nx_bsd_socket_peer_ip.nxd_ip_address.v4); in nx_bsd_recvfrom() 4626 …peer4_address.sin_addr.s_addr = ntohl(bsd_socket_ptr -> nx_bsd_socket_source_ip_address.nxd_ip_add… in nx_bsd_recvfrom() 7099 soc_struct.sin_addr.s_addr = INADDR_ANY; in nx_bsd_getsockname() 7116 soc_struct.sin_addr.s_addr = htonl(local_if -> nx_interface_ip_address); in nx_bsd_getsockname() 7403 …soc_struct_ptr -> sin_addr.s_addr = htonl(bsd_socket_ptr -> nx_bsd_socket_tcp_socket -> nx_tcp_so… in nx_bsd_getpeername() 7443 soc_struct_ptr -> sin_addr.s_addr = 0; in nx_bsd_getpeername() [all …]
|
D | nxd_bsd.h | 678 sin_addr; /* Internet address (32 bits). */ member
|