Lines Matching defs:address
607 pub address: Option<S>,
702 /// let address: SockaddrIn = getsockname(in_socket).unwrap();
708 /// let l = sendmsg(in_socket, &iov, &[], flags, Some(&address)).unwrap();
1008 // CMSG_DATA buffer. For local errors, there is no address included in the control
1010 // validate that the address object is in-bounds before we attempt to copy it.
1143 /// Configure the IPv4 source address with `IP_SENDSRCADDR`.
1438 /// by ancillary data. Optionally direct the message at the given address,
1444 /// When not directing to any specific address, use `()` for the generic type
1459 /// When directing to a specific address, the generic type will be inferred.
1520 // one address per group of slices
1626 .map(|(ix, address)| {
1631 let msg_hdr = unsafe { pack_mhdr_to_receive(std::ptr::null(), 0, ptr, cap, address.as_mut_ptr()) };
1756 // as long as we are not reading past the index writen by recvmmsg - address
1758 let address = unsafe { self.rmm.addresses[self.current_index].assume_init() };
1766 address,
1919 address: S,
1938 address: Some(address),
1961 address: *mut S,
1970 (*p).msg_name = (*address).as_mut_ptr() as *mut c_void;
2053 let mut address = mem::MaybeUninit::uninit();
2059 pack_mhdr_to_receive(iov.as_ref().as_ptr(), iov.len(), msg_control, msg_controllen, address.as_mut_ptr())
2066 Ok(unsafe { read_mhdr(mhdr, r, msg_controllen, address.assume_init()) })
2216 /// address of the sender.
2339 /// Get the address of the peer connected to the socket `fd`.
2359 /// Get the current address to which the socket `fd` is bound.
2450 af => panic!("unexpected address family {}", af),