1 /* SPDX-License-Identifier: GPL-2.0 */ 1 /* SPDX-License-Identifier: GPL-2.0 */ 2 #ifndef _BPF_PRELOAD_H 2 #ifndef _BPF_PRELOAD_H 3 #define _BPF_PRELOAD_H 3 #define _BPF_PRELOAD_H 4 4 5 struct bpf_preload_info { 5 struct bpf_preload_info { 6 char link_name[16]; 6 char link_name[16]; 7 struct bpf_link *link; 7 struct bpf_link *link; 8 }; 8 }; 9 9 10 struct bpf_preload_ops { 10 struct bpf_preload_ops { 11 int (*preload)(struct bpf_preload_info 11 int (*preload)(struct bpf_preload_info *); 12 struct module *owner; 12 struct module *owner; 13 }; 13 }; 14 extern struct bpf_preload_ops *bpf_preload_ops 14 extern struct bpf_preload_ops *bpf_preload_ops; 15 #define BPF_PRELOAD_LINKS 2 15 #define BPF_PRELOAD_LINKS 2 16 #endif 16 #endif 17 17
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.