1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// SPDX-License-Identifier: GPL-2.0

#include "vmlinux.h"
#include <bpf/bpf_helpers.h>

__u32 data_end;

SEC("cgroup_skb/ingress")
int direct_packet_access(struct __sk_buff *skb)
{
	data_end = skb->data_end;
	return 1;
}

char _license[] SEC("license") = "GPL";
掌心的温暖 是你紧握著的光芒 透过了指缝 一星半点投奔向远方