sample_ret0.bpf.c 224 B

12345678910
  1. /* SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) */
  2. #define SEC(name) __attribute__((section(name), used))
  3. /* Sample program which should always load for testing control paths. */
  4. SEC("xdp")
  5. int func()
  6. {
  7. return 0;
  8. }