xref: /linux/tools/testing/selftests/bpf/xdping.h (revision 702648721db590b3425c31ade294000e18808345)
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