Helper function bpf_seq_write
Definition
Copyright (c) 2015 The Libbpf Authors. All rights reserved.
bpf_seq_write() uses seq_file seq_write() to write the data. The m represents the seq_file. The data and len represent the data to write in bytes.
Returns
0 on success, or a negative error in case of failure:
-EOVERFLOW if an overflow happened: The same object will be tried again.
static long (* const bpf_seq_write)(struct seq_file *m, const void *data, __u32 len) = (void *) 127;
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