Implement XDP link-specific show_fdinfo and link_info to emit ifindex.
Showing the changes to include/uapi/linux (1 of 2 files). Show all
Unified · Split
| @@ -4069,6 +4069,9 @@ struct bpf_link_info { · 4068 unmodified lines | |||
| 4069 | __u32 netns_ino; | 4069 | __u32 netns_ino; |
| 4070 | __u32 attach_type; | 4070 | __u32 attach_type; |
| 4071 | } netns; | 4071 | } netns; |
| 4072 | struct { | ||
| 4073 | __u32 ifindex; | ||
| 4074 | } xdp; | ||
| 4072 | }; | 4075 | }; |
| 4073 | } __attribute__((aligned(8))); | 4076 | } __attribute__((aligned(8))); |
| 4074 | 4077 | ||