Module capsules::net::util [] [src]

Utility functions used in the 6LoWPAN implementation

Functions

matches_prefix

Verifies that the prefixes of the two buffers match, where the length of the prefix is given in bits

slice_to_u16
u16_to_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):