Skip to content

Helper function bpf_sys_bpf

v5.14

Definition

Copyright (c) 2015 The Libbpf Authors. All rights reserved.

Execute bpf syscall with given arguments.

Returns

A syscall result.

static long (* const bpf_sys_bpf)(__u32 cmd, void *attr, __u32 attr_size) = (void *) 166;

Usage

Docs could be improved

This part of the docs is incomplete, contributions are very welcome

Program types

This helper call can be used in the following program types:

Example

Docs could be improved

This part of the docs is incomplete, contributions are very welcome