Helper function bpf_xdp_get_buff_len
Definition
Copyright (c) 2015 The Libbpf Authors. All rights reserved.
Get the total size of a given xdp buff (linear and paged area)
Returns
The total size of a given xdp buffer.
static __u64 (* const bpf_xdp_get_buff_len)(struct xdp_md *xdp_md) = (void *) 188;
Usage
Docs could be improved
This part of the docs is incomplete, contributions are very welcome
Program types
This helper call can be used in the following program types:
Example
Docs could be improved
This part of the docs is incomplete, contributions are very welcome