1 // SPDX-License-Identifier: GPL-2.0
3 #include <bpf/bpf_helpers.h>
6 __uint(type, BPF_MAP_TYPE_SOCKMAP);
7 __uint(max_entries, 2);
10 } sock_map SEC(".maps");
12 SEC("sk_skb/skb_verdict")
13 int prog_skb_verdict(struct __sk_buff *skb)
18 char _license[] SEC("license") = "GPL";