fn get_packet<'a>(
socket: &Socket,
buf: &'a mut [MaybeUninit<u8>],
control_buf: &'a mut [MaybeUninit<u8>],
) -> Result<(&'a [u8], ReplyMeta), Error>Expand description
Get a packet from a socket along with its metadata (source address, TTL, and kernel receive timestamp).