mirror of https://github.com/aya-rs/aya
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.
This commit cleans up the recently refactored aya-bpf-macros to be a little easier to maintain: Cosmetic changes: 1. The flow of the parse function is the same in each file 2. Useless if !attrs.is_empty() guards were removed 3. The compile error when cgroup_sock programs have an invalid attach_type was in the wrong location Functional changes: 1. Remove pop_required_arg. All args are optional and making them required was a mistake on my part. We may revisit this later. 2. Rename pop_arg to pop_string_arg 3. Implement pop_bool_arg to allow for single idents to be mixed with our key/value pair syntax in macro attributes. This is used for `sleepable` and `frags` in XDP programs. Signed-off-by: Dave Tucker <dave@dtucker.co.uk> |
2 years ago | |
|---|---|---|
| .. | ||
| args.rs | 2 years ago | |
| btf_tracepoint.rs | 2 years ago | |
| cgroup_device.rs | 2 years ago | |
| cgroup_skb.rs | 2 years ago | |
| cgroup_sock.rs | 2 years ago | |
| cgroup_sock_addr.rs | 2 years ago | |
| cgroup_sockopt.rs | 2 years ago | |
| cgroup_sysctl.rs | 2 years ago | |
| fentry.rs | 2 years ago | |
| fexit.rs | 2 years ago | |
| kprobe.rs | 2 years ago | |
| lib.rs | 2 years ago | |
| lsm.rs | 2 years ago | |
| map.rs | 2 years ago | |
| perf_event.rs | 2 years ago | |
| raw_tracepoint.rs | 2 years ago | |
| sk_lookup.rs | 2 years ago | |
| sk_msg.rs | 2 years ago | |
| sk_skb.rs | 2 years ago | |
| sock_ops.rs | 2 years ago | |
| socket_filter.rs | 2 years ago | |
| tc.rs | 2 years ago | |
| tracepoint.rs | 2 years ago | |
| uprobe.rs | 2 years ago | |
| xdp.rs | 2 years ago | |