Searched refs:addrlen (Results 1 – 1 of 1) sorted by relevance
/DragonOS-0.1.7/kernel/src/net/ |
D | syscall.rs | 217 let addrlen = regs.r10 as usize; in sys_connect() localVariable 218 return do_connect(fd, addr as *const SockAddr, addrlen) in sys_connect() 230 pub fn do_connect(fd: usize, addr: *const SockAddr, addrlen: usize) -> Result<i64, SystemError> { in do_connect() 231 let endpoint: Endpoint = SockAddr::to_endpoint(addr, addrlen)?; in do_connect() 245 let addrlen = regs.r10 as usize; in sys_bind() localVariable 246 return do_bind(fd, addr as *const SockAddr, addrlen) in sys_bind() 258 pub fn do_bind(fd: usize, addr: *const SockAddr, addrlen: usize) -> Result<i64, SystemError> { in do_bind() 259 let endpoint: Endpoint = SockAddr::to_endpoint(addr, addrlen)?; in do_bind() 275 let addrlen = regs.r13 as usize; in sys_sendto() localVariable 282 addrlen, in sys_sendto() [all …]
|