Documentation ¶ Index ¶ func Run(progFd, repeat int, data []byte, dataOut []byte) (int, int, int, error) 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. Source Files ¶ View all Source files prog_test_run.go Click to show internal directories. Click to hide internal directories.