Searched refs:SockAddr (Results 1 – 1 of 1) sorted by relevance
/DragonOS-0.1.7/kernel/src/net/ |
D | syscall.rs | 218 return do_connect(fd, addr as *const SockAddr, addrlen) in sys_connect() constant 230 pub fn do_connect(fd: usize, addr: *const SockAddr, addrlen: usize) -> Result<i64, SystemError> { in do_connect() argument 231 let endpoint: Endpoint = SockAddr::to_endpoint(addr, addrlen)?; in do_connect() 246 return do_bind(fd, addr as *const SockAddr, addrlen) in sys_bind() constant 258 pub fn do_bind(fd: usize, addr: *const SockAddr, addrlen: usize) -> Result<i64, SystemError> { in do_bind() argument 259 let endpoint: Endpoint = SockAddr::to_endpoint(addr, addrlen)?; in do_bind() 281 addr as *const SockAddr, in sys_sendto() constant 303 addr: *const SockAddr, in do_sendto() argument 313 Some(SockAddr::to_endpoint(addr, addrlen)?) in do_sendto() 336 addr as *mut SockAddr, in sys_recvfrom() [all …]
|