Searched defs:SockAddr (Results 1 – 2 of 2) sorted by relevance
/DragonOS/kernel/src/net/ |
H A D | syscall.rs | 197 pub fn connect(fd: usize, addr: *const SockAddr, addrlen: usize) -> Result<usize, SystemError> { in connect() 214 pub fn bind(fd: usize, addr: *const SockAddr, addrlen: usize) -> Result<usize, SystemError> { in bind() 237 addr: *const SockAddr, in sendto() 266 addr: *mut SockAddr, in recvfrom() 359 pub fn accept(fd: usize, addr: *mut SockAddr, addrlen: *mut u32) -> Result<usize, SystemError> { in accept() 382 addr: *mut SockAddr, in accept4() 400 addr: *mut SockAddr, in do_accept() 453 addr: *mut SockAddr, in getsockname() 482 addr: *mut SockAddr, in getpeername() 560 impl SockAddr { implementation [all …]
|
/DragonOS/kernel/src/syscall/ |
H A D | mod.rs | 471 let addr = args[1] as *const SockAddr; in handle() constant 483 let addr = args[1] as *const SockAddr; in handle() constant 499 let addr = args[4] as *const SockAddr; in handle() constant
|