Helper function bpf_xdp_store_bytes
Definition
Copyright (c) 2015 The Libbpf Authors. All rights reserved.
Store len bytes from buffer buf into the frame associated to xdp_md, at offset.
Returns
0 on success, or a negative error in case of failure.
static long (* const bpf_xdp_store_bytes)(struct xdp_md *xdp_md, __u32 offset, void *buf, __u32 len) = (void *) 190;
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