Function cmsg_space

Source
pub const fn cmsg_space(data_len: usize) -> usize
Expand description

Given a payload of data_len, returns the number of bytes a control message occupies. i.e. it includes the header, the data and the alignments.