extern structstd.os.linux.bpf.GetIdAttr[src]

struct used by Cmd.get_id commands

Fields

id: extern union {
    start_id: u32,
    prog_id: u32,
    map_id: u32,
    btf_id: u32,
    link_id: u32,
}
next_id: u32
open_flags: u32

Source Code

Source code
pub const GetIdAttr = extern struct {
    id: extern union {
        start_id: u32,
        prog_id: u32,
        map_id: u32,
        btf_id: u32,
        link_id: u32,
    },
    next_id: u32,
    open_flags: u32,
}