Struct redbpf_probes::net::Data [−][src]
pub struct Data<T: NetworkBuffer> { /* fields omitted */ }
Expand description
Data type returned by calling NetworkBuffer::data()
Implementations
Returns the length of the data.
This is equivalent to the length of the packet minus the length of the headers.
Returns a slice
of len
bytes from the data.