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.
We have had loaded_links in the API as `#[doc(hidden)]` for a while. I've been using it in bpfman and it's been fine. This commit does the minimal work required to make the API stable. We expose a `LinkInfo` type - similar to `ProgInfo` - which wraps the generated type. In this case, `bpf_link_info`. A few accessor functions have been added for `id`, `link_type` and `program_id`. There are many more fields that could be (eventually) made public. As a convenience, `LinkInfo` can be retrieved from an existing FdLink by using `FdLink::info()`. Signed-off-by: Dave Tucker <dave@dtucker.co.uk> |
1 week ago | |
---|---|---|
.. | ||
libbpf@20ea95b450 | 1 year ago | |
public-api | 1 week ago | |
src | 3 weeks ago | |
Cargo.toml | 1 month ago |