Permalink
Cannot retrieve contributors at this time
13 lines (10 sloc)
235 Bytes
|
// SPDX-License-Identifier: GPL-2.0 |
|
|
|
#define KBUILD_MODNAME "xdp_dummy" |
|
#include <uapi/linux/bpf.h> |
|
#include "bpf_helpers.h" |
|
|
|
SEC("prog") |
|
int xdp_dummy(struct xdp_md *ctx) |
|
{ |
|
return XDP_PASS; |
|
} |
|
|
|
char _license[] SEC("license") = "GPL"; |
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session.
You signed out in another tab or window. Reload to refresh your session.