xref: /linux/tools/testing/selftests/bpf/xdping.h (revision a7f7f6248d9740d710fd6bd190293fe5e16410ac)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /* Copyright (c) 2019, Oracle and/or its affiliates. All rights reserved. */
3 
4 #define	XDPING_MAX_COUNT	10
5 #define	XDPING_DEFAULT_COUNT	4
6 
7 struct pinginfo {
8 	__u64	start;
9 	__be16	seq;
10 	__u16	count;
11 	__u32	pad;
12 	__u64	times[XDPING_MAX_COUNT];
13 };
14