staging: rtl8192u: remove redundant assignment to pointer crypt
[linux/fpc-iii.git] / tools / testing / selftests / bpf / prog_tests / tcp_estats.c
blobbb8759d69099c7a948877110bf2420f3858a5454
1 // SPDX-License-Identifier: GPL-2.0
2 #include <test_progs.h>
4 void test_tcp_estats(void)
6 const char *file = "./test_tcp_estats.o";
7 int err, prog_fd;
8 struct bpf_object *obj;
9 __u32 duration = 0;
11 err = bpf_prog_load(file, BPF_PROG_TYPE_TRACEPOINT, &obj, &prog_fd);
12 CHECK(err, "", "err %d errno %d\n", err, errno);
13 if (err) {
14 error_cnt++;
15 return;
18 bpf_object__close(obj);