Function capsules::net::util::matches_prefix
[−]
[src]
pub fn matches_prefix(buf1: &[u8], buf2: &[u8], prefix_len: u8) -> bool
Verifies that the prefixes of the two buffers match, where the length of the prefix is given in bits