You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
aya/bpf/aya-bpf/src/programs
Michal Rostecki c6e1d56684 bpf: Add `load_bytes` method to SKB context
This new method allows to load bytes into the given bytes slice, not
requiring to alloate the memory on stack. It can be used with
PerCpuArrays.

Example:

https://github.com/vadorovsky/aya-examples/blob/main/tc-bytes/tc-bytes-ebpf/src/main.rs

Signed-off-by: Michal Rostecki <vadorovsky@gmail.com>
3 years ago
..
fentry.rs Support for fentry and fexit programs 4 years ago
fexit.rs Support for fentry and fexit programs 4 years ago
lsm.rs aya-bpf: implement argument coercion for pt_regs and BTF programs 4 years ago
mod.rs bpf: Implement BPF_PROG_TYPE_CGROUP_SOCK 3 years ago
perf_event.rs Add support for PerfEvent programs. 4 years ago
probe.rs aya-bpf: implement argument coercion for pt_regs and BTF programs 4 years ago
raw_tracepoint.rs Add support for raw tracepoint and LSM programs 4 years ago
sk_buff.rs bpf: Add `load_bytes` method to SKB context 3 years ago
sk_lookup.rs bpf: Support BPF_PROG_TYPE_SK_LOOKUP 3 years ago
sk_msg.rs aya-bpf: expose sk_msg_md of SkMsgContext 3 years ago
sock.rs bpf: Implement BPF_PROG_TYPE_CGROUP_SOCK 3 years ago
sock_addr.rs bpf: Add support for BPF_PROG_TYPE_CGROUP_SOCK_ADDR 3 years ago
sock_ops.rs Temporary change return value condition to avoid problems with possibly (not aware) cast from int to long 3 years ago
sockopt.rs Add support for BPF_PROG_TYPE_CGROUP_SOCKOPT (#268) 3 years ago
sysctl.rs Add support for BPF_PROG_TYPE_CGROUP_SYSCTL (#256) 3 years ago
tp_btf.rs aya-bpf: implement argument coercion for pt_regs and BTF programs 4 years ago
tracepoint.rs bpf: add support for tracepoint program (#29) 4 years ago
xdp.rs Add missing inline macro to xdp methods 3 years ago