Home
last modified time | relevance | path

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

/DragonOS-0.1.7/user/apps/test_relibc/
Dmain.c35 struct sockaddr_in server_sockaddr; in tcp_server()
56 struct sockaddr_in client_addr; in tcp_server()
99 struct sockaddr_in server_sockaddr; in udp_server()
113 struct sockaddr_in client_addr; in udp_server()
143 struct sockaddr_in server_addr = {0}; in tcp_client()
194 struct sockaddr_in addr; in udp_client()
196 int addr_len = sizeof(struct sockaddr_in); in udp_client()
/DragonOS-0.1.7/kernel/src/net/
Dsyscall.rs386 let sockaddr_in = SockAddr::from(endpoint); in do_recvfrom() localVariable
388 sockaddr_in.write_to_user(addr, addrlen)?; in do_recvfrom()
435 let sockaddr_in = SockAddr::from(endpoint); in do_recvmsg() localVariable
437 sockaddr_in.write_to_user(msg.msg_name, &mut msg.msg_namelen)?; in do_recvmsg()
525 let sockaddr_in = SockAddr::from(remote_endpoint); in do_accept() localVariable
527 sockaddr_in.write_to_user(addr, addrlen)?; in do_accept()
568 let sockaddr_in = SockAddr::from(endpoint); in do_getsockname() localVariable
570 sockaddr_in.write_to_user(addr, addrlen)?; in do_getsockname()
608 let sockaddr_in = SockAddr::from(endpoint); in do_getpeername() localVariable
610 sockaddr_in.write_to_user(addr, addrlen)?; in do_getpeername()