tools/testing/selftests/bpf/progs/freplace_int_with_void.c

Source file repositories/reference/linux-study-clean/tools/testing/selftests/bpf/progs/freplace_int_with_void.c

File Facts

System
Linux kernel
Corpus path
tools/testing/selftests/bpf/progs/freplace_int_with_void.c
Extension
.c
Size
246 bytes
Lines
12
Domain
Support Tooling And Documentation
Bucket
tools
Inferred role
Support Tooling And Documentation: implementation source
Status
source implementation candidate

Why This File Exists

Repository support layer: documentation, build tooling, samples, user-space helper tools, generated initramfs support, licenses, and validation utilities.

Dependency Surface

Detected Declarations

Annotated Snippet

// SPDX-License-Identifier: GPL-2.0
#include <linux/bpf.h>
#include <linux/pkt_cls.h>
#include <bpf/bpf_helpers.h>

SEC("freplace/global_func2")
void test_freplace_int_with_void(struct __sk_buff *skb)
{
}

char _license[] SEC("license") = "GPL";

Annotation

Implementation Notes