Report to the user ifindex and namespace information of offloaded programs. If device has disappeared return -ENODEV. Specify the namespace using dev/inode combination.
Showing the changes to include/uapi/linux (1 of 5 files). Show all
Unified · Split
| @@ -921,6 +921,9 @@ struct bpf_prog_info { · 920 unmodified lines | |||
| 921 | __u32 nr_map_ids; | 921 | __u32 nr_map_ids; |
| 922 | __aligned_u64 map_ids; | 922 | __aligned_u64 map_ids; |
| 923 | char name[BPF_OBJ_NAME_LEN]; | 923 | char name[BPF_OBJ_NAME_LEN]; |
| 924 | __u32 ifindex; | ||
| 925 | __u64 netns_dev; | ||
| 926 | __u64 netns_ino; | ||
| 924 | } __attribute__((aligned(8))); | 927 | } __attribute__((aligned(8))); |
| 925 | 928 | ||
| 926 | struct bpf_map_info { | 929 | struct bpf_map_info { |