progtestrun

package
Version: v0.0.0-...-e72091e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 19, 2019 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(progFd, repeat int, data []byte, dataOut []byte) (int, int, int, error)

Run exposes BPF_PROG_TEST_RUN to test xdp and skp programs. `data` will be passed to your program as `__sk_buff *ptr`. `dataOut` (optional) will hold `skb->data` after run, if large enough.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL