Select the types of activity you want to include in your feed.
1// SPDX-License-Identifier: GPL-2.0 2 3#include "vmlinux.h" 4#include <bpf/bpf_helpers.h> 5 6__u32 data_end; 7 8SEC("cgroup_skb/ingress") 9int direct_packet_access(struct __sk_buff *skb) 10{ 11 data_end = skb->data_end; 12 return 1; 13} 14 15char _license[] SEC("license") = "GPL";