extern struct LinkUpdateAttr [src]
struct used by Cmd.link_update command
Fields
link_fd: fd_t
new_prog_fd: fd_tnew program to update link with
flags: u32extra flags
old_prog_fd: fd_texpected link's program fd, it is specified only if BPF_F_REPLACE is
set in flags
Source
pub const LinkUpdateAttr = extern struct {
link_fd: fd_t,
/// new program to update link with
new_prog_fd: fd_t,
/// extra flags
flags: u32,
/// expected link's program fd, it is specified only if BPF_F_REPLACE is
/// set in flags
old_prog_fd: fd_t,
}