]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/blob - samples/bpf/xdpsock.h
bpf: Fix inner map state pruning regression.
[mirror_ubuntu-jammy-kernel.git] / samples / bpf / xdpsock.h
1 /* SPDX-License-Identifier: GPL-2.0
2 *
3 * Copyright(c) 2019 Intel Corporation.
4 */
5
6 #ifndef XDPSOCK_H_
7 #define XDPSOCK_H_
8
9 #define MAX_SOCKS 4
10
11 #define SOCKET_NAME "sock_cal_bpf_fd"
12 #define MAX_NUM_OF_CLIENTS 10
13
14 #define CLOSE_CONN 1
15
16 typedef __u64 u64;
17 typedef __u32 u32;
18
19 #endif /* XDPSOCK_H */