Module util

Source
Expand description

Utility functions used in the 6LoWPAN implementation

Functions§

host_slice_to_u16
matches_prefix
Verifies that the prefixes of the two buffers match, where the length of the prefix is given in bits
network_slice_to_u16
u16_to_network_slice
verify_prefix_len
Verifies that a prefix given in the form of a byte array slice is valid with respect to its length in bits (prefix_len):