Function socket2_plus::cmsg_space
source ยท pub fn cmsg_space(data_len: usize) -> usizeExpand 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.