aboutsummaryrefslogtreecommitdiffstats
path: root/samples/bpf/xdpsock.h
blob: fd70cce60712d3c7ba279150ef7e2a3740dd25c1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/* SPDX-License-Identifier: GPL-2.0
 *
 * Copyright(c) 2019 Intel Corporation.
 */

#ifndef XDPSOCK_H_
#define XDPSOCK_H_

#define MAX_SOCKS 4

#define SOCKET_NAME "sock_cal_bpf_fd"
#define MAX_NUM_OF_CLIENTS 10

#define CLOSE_CONN  1

typedef __u64 u64;
typedef __u32 u32;

#endif /* XDPSOCK_H */