Путеводитель по Руководству Linux

  User  |  Syst  |  Libr  |  Device  |  Files  |  Other  |  Admin  |  Head  |



   bpf    ( 2 )

выполнить команду на расширенной карте или программе BPF (perform a command on an extended BPF map or program)

  Name  |  Synopsis  |  Description  |    Return value    |  Error  |  Versions  |  Conforming to  |  Note  |  Examples  |  See also  |

Возвращаемое значение (Return value)

For a successful call, the return value depends on the operation:

BPF_MAP_CREATE The new file descriptor associated with the eBPF map.

BPF_PROG_LOAD The new file descriptor associated with the eBPF program.

All other commands Zero.

On error, -1 is returned, and errno is set to indicate the error.