D | bpf_api.h | 99 # define __BPF_MAP(NAME, TYPE, ID, SIZE_KEY, SIZE_VALUE, PIN, MAX_ELEM) \ argument 105 .pinning = (PIN), \ 111 # define BPF_HASH(NAME, ID, SIZE_KEY, SIZE_VALUE, PIN, MAX_ELEM) \ argument 113 PIN, MAX_ELEM) 117 # define BPF_ARRAY(NAME, ID, SIZE_VALUE, PIN, MAX_ELEM) \ argument 119 SIZE_VALUE, PIN, MAX_ELEM) 123 # define BPF_ARRAY2(NAME, ID, PIN, MAX_ELEM) \ argument 124 BPF_ARRAY(NAME, ID, sizeof(uint16_t), PIN, MAX_ELEM) 128 # define BPF_ARRAY4(NAME, ID, PIN, MAX_ELEM) \ argument 129 BPF_ARRAY(NAME, ID, sizeof(uint32_t), PIN, MAX_ELEM) [all …]
|