PROG
#define PROG(foo) \
#define PROG(F) SEC("kprobe/"__stringify(F)) int bpf_func_##F
PROG(SYS__NR_write)(struct pt_regs *ctx)
PROG(SYS__NR_read)(struct pt_regs *ctx)
PROG(SYS__NR_mmap2)(struct pt_regs *ctx)
PROG(SYS__NR_mmap)(struct pt_regs *ctx)
#define PROG(F) PROG_(F, _##F)
PROG(IP)(struct __sk_buff *skb)
PROG(IPV6)(struct __sk_buff *skb)
PROG(IPV6OP)(struct __sk_buff *skb)
PROG(IPV6FR)(struct __sk_buff *skb)
PROG(MPLS)(struct __sk_buff *skb)
PROG(VLAN)(struct __sk_buff *skb)