summaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/bpf/xdping.h
blob: afc578df77be582c52816b52c2333fb53480909e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* SPDX-License-Identifier: GPL-2.0 */
/* Copyright (c) 2019, Oracle and/or its affiliates. All rights reserved. */

#define	XDPING_MAX_COUNT	10
#define	XDPING_DEFAULT_COUNT	4

struct pinginfo {
	__u64	start;
	__be16	seq;
	__u16	count;
	__u32	pad;
	__u64	times[XDPING_MAX_COUNT];
};