Searched refs:sockaddr_in (Results 1 – 2 of 2) sorted by relevance
35 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()
386 let sockaddr_in = SockAddr::from(endpoint); in do_recvfrom() localVariable388 sockaddr_in.write_to_user(addr, addrlen)?; in do_recvfrom()435 let sockaddr_in = SockAddr::from(endpoint); in do_recvmsg() localVariable437 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() localVariable527 sockaddr_in.write_to_user(addr, addrlen)?; in do_accept()568 let sockaddr_in = SockAddr::from(endpoint); in do_getsockname() localVariable570 sockaddr_in.write_to_user(addr, addrlen)?; in do_getsockname()608 let sockaddr_in = SockAddr::from(endpoint); in do_getpeername() localVariable610 sockaddr_in.write_to_user(addr, addrlen)?; in do_getpeername()