Skip to main content

MIN_PATH_BUFFER_SIZE

Constant MIN_PATH_BUFFER_SIZE 

Source
pub const MIN_PATH_BUFFER_SIZE: usize = 1024;
Expand description

Minimum size of the path buffer required by ScionSocketReceiveError::PathBufTooSmall.

This constant can be used to allocate a correctly-sized path buffer when calling UdpScionSocket::recv_from_with_path or the corresponding method on PathUnawareUdpScionSocket.