[][src]Macro redbpf_macros::program

program!() { /* proc-macro */ }

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

program!(0xFFFFFFFE, "GPL");