xref: /linux/tools/testing/selftests/bpf/prog_tests/tcp_estats.c (revision 8c994eff8fcfe8ecb1f1dbebed25b4d7bb75be12)
1 // SPDX-License-Identifier: GPL-2.0
2 #include <test_progs.h>
3 
4 void test_tcp_estats(void)
5 {
6 	const char *file = "./test_tcp_estats.bpf.o";
7 	int err, prog_fd;
8 	struct bpf_object *obj;
9 
10 	err = bpf_prog_test_load(file, BPF_PROG_TYPE_TRACEPOINT, &obj, &prog_fd);
11 	if (!ASSERT_OK(err, ""))
12 		return;
13 
14 	bpf_object__close(obj);
15 }
16