Lines Matching refs:addrlen
167 pub fn connect(fd: usize, addr: *const SockAddr, addrlen: usize) -> Result<usize, SystemError> { in connect()
168 let endpoint: Endpoint = SockAddr::to_endpoint(addr, addrlen)?; in connect()
185 pub fn bind(fd: usize, addr: *const SockAddr, addrlen: usize) -> Result<usize, SystemError> { in bind()
186 let endpoint: Endpoint = SockAddr::to_endpoint(addr, addrlen)?; in bind()
209 addrlen: usize, in sendto()
214 Some(SockAddr::to_endpoint(addr, addrlen)?) in sendto()
238 addrlen: *mut u32, in recvfrom()
254 sockaddr_in.write_to_user(addr, addrlen)?; in recvfrom()
330 pub fn accept(fd: usize, addr: *mut SockAddr, addrlen: *mut u32) -> Result<usize, SystemError> { in accept()
350 sockaddr_in.write_to_user(addr, addrlen)?; in accept()
369 addrlen: *mut u32, in getsockname()
383 sockaddr_in.write_to_user(addr, addrlen)?; in getsockname()
398 addrlen: *mut u32, in getpeername()
413 sockaddr_in.write_to_user(addr, addrlen)?; in getpeername()