[][src]Module rebpf::bpf::utils

This module contains utils functions to write bpf programs.

Functions

get_unsafe_slice_range

Returns a slice of the given slice from the byte range [begin, end). Differently from &[begin..end] this method is allowed in bpf programs.