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