File: bpf.h

package info (click to toggle)
trinity 1.9%2Bgit20230109.87f1530-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 3,116 kB
  • sloc: ansic: 33,463; sh: 536; makefile: 163
file content (12 lines) | stat: -rw-r--r-- 261 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
#pragma once

int get_rand_bpf_fd(void);

#ifndef BPF_MAP_TYPE_LRU_HASH
#define BPF_MAP_TYPE_LRU_HASH 9
#define BPF_MAP_TYPE_LRU_PERCPU_HASH 10
#define BPF_MAP_TYPE_LPM_TRIE 11
#endif
#ifndef BPF_F_NO_COMMON_LRU
#define BPF_F_NO_COMMON_LRU     (1U << 1)
#endif