Searched refs:optval (Results 1 – 2 of 2) sorted by relevance
109 optval: &[u8], in setsockopt()116 return socket.setsockopt(level, optname, optval).map(|_| 0); in setsockopt()132 optval: *mut u8, in getsockopt()136 let optval = optval as *mut u32; in getsockopt() localVariable149 *optval = socket.metadata().tx_buf_size as u32; in getsockopt()157 *optval = socket.metadata().rx_buf_size as u32; in getsockopt()
446 let optval = args[3] as *const u8; in handle() localVariable448 let virt_optval = VirtAddr::new(optval as usize); in handle()454 let data: &[u8] = unsafe { core::slice::from_raw_parts(optval, optlen) }; in handle()459 let optval = args[3] as *mut u8; in handle() localVariable461 let virt_optval = VirtAddr::new(optval as usize); in handle()481 Self::getsockopt(args[0], args[1], args[2], optval, optlen as *mut u32) in handle()