program!() { /* proc-macro */ }Expand description
Generates program metadata.
Takes two arguments, the LINUX_VERSION_CODE the program is compatible with,
and the license. The special version code 0xFFFFFFFE can be used to signify
any kernel version.
ยงExample
#![no_std]
#![no_main]
use redbpf_macros::program;
program!(0xFFFFFFFE, "GPL");