Skip to main content

bpf_program_detach

Function bpf_program_detach 

Source
pub fn bpf_program_detach(
    target: BorrowedFd<'_>,
    attach_type: BpfAttachType,
    program: Option<BorrowedFd<'_>>,
) -> Result<(), Errno>
Expand description

BPF_PROG_DETACH — détache un programme historique.

§Errors

  • [Errno::ENOENT] : rien d’attaché.