Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
fork

Configure Feed

Select the types of activity you want to include in your feed.

at v5.8-rc4 18 lines 352 B view raw
1/* SPDX-License-Identifier: GPL-2.0 */ 2/* 3 * BPF programs attached to network namespace 4 */ 5 6#ifndef __NETNS_BPF_H__ 7#define __NETNS_BPF_H__ 8 9#include <linux/bpf-netns.h> 10 11struct bpf_prog; 12 13struct netns_bpf { 14 struct bpf_prog __rcu *progs[MAX_NETNS_BPF_ATTACH_TYPE]; 15 struct bpf_link *links[MAX_NETNS_BPF_ATTACH_TYPE]; 16}; 17 18#endif /* __NETNS_BPF_H__ */