]>
git.proxmox.com Git - mirror_iproute2.git/blob - include/bpf_elf.h
8 * Below ELF section names and bpf_elf_map structure definition
9 * are not (!) kernel ABI. It's rather a "contract" between the
10 * application and the BPF loader in tc. For compatibility, the
11 * section names should stay as-is. Introduction of aliases, if
12 * needed, are a possibility, though.
15 /* ELF section names, etc */
16 #define ELF_SECTION_LICENSE "license"
17 #define ELF_SECTION_MAPS "maps"
18 #define ELF_SECTION_CLASSIFIER "classifier"
19 #define ELF_SECTION_ACTION "action"
21 #define ELF_MAX_MAPS 64
22 #define ELF_MAX_LICENSE_LEN 128
24 /* ELF map definition */
33 #endif /* __BPF_ELF__ */