Debian Codegraph @

compat-include/net/gso.h

raw symbols SCIP
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /* OpenVPN data channel accelerator
3 *
4 * Copyright (C) 2023-2024 OpenVPN, Inc.
5 *
6 * Author: Antonio Quartulli <[email protected]>
7 */
8
9 #ifndef _NET_OVPN_COMPAT_NET_GSO_H
10 #define _NET_OVPN_COMPAT_NET_GSO_H
11
12 #include <linux/version.h>
13
14 #if LINUX_VERSION_CODE >= KERNEL_VERSION(6, 4, 10) || \
15 SUSE_PRODUCT_CODE >= SUSE_PRODUCT(1, 15, 6, 0) || \
16 RHEL_RELEASE_CODE >= RHEL_RELEASE_VERSION(9, 4)
17 #include_next <net/gso.h>
18 #else
19 #include <linux/netdevice.h>
20 #endif
21
22 #endif /* _NET_OVPN_COMPAT_NET_GSO_H */