Home
last modified time | relevance | path

Searched refs:sin_addr (Results 1 – 2 of 2) sorted by relevance

/DragonOS-0.1.7/user/apps/test_relibc/
Dmain.c38 server_sockaddr.sin_addr.s_addr = htonl(INADDR_ANY); in tcp_server()
102 server_sockaddr.sin_addr.s_addr = htonl(INADDR_ANY); in udp_server()
146 server_addr.sin_addr.s_addr = inet_addr("192.168.199.129"); in tcp_client()
210 addr.sin_addr.s_addr = inet_addr("192.168.199.129"); in udp_client()
/DragonOS-0.1.7/kernel/src/net/
Dsyscall.rs621 pub sin_addr: u32, field
694 &u32::from_be(addr_in.sin_addr).to_be_bytes()[..], in to_endpoint()
788 sin_addr: u32::from_be_bytes(ipv4_addr.0).to_be(), in from()