Michal Kubecek | 2b4a899 | 2019-12-27 15:55:18 +0100 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
| 2 | |
| 3 | #ifndef _LINUX_ETHTOOL_NETLINK_H_ |
| 4 | #define _LINUX_ETHTOOL_NETLINK_H_ |
| 5 | |
| 6 | #include <uapi/linux/ethtool_netlink.h> |
| 7 | #include <linux/ethtool.h> |
Michal Kubecek | 6b08d6c | 2019-12-27 15:55:33 +0100 | [diff] [blame] | 8 | #include <linux/netdevice.h> |
| 9 | |
Michal Kubecek | f625aa9 | 2019-12-27 15:56:08 +0100 | [diff] [blame] | 10 | #define __ETHTOOL_LINK_MODE_MASK_NWORDS \ |
| 11 | DIV_ROUND_UP(__ETHTOOL_LINK_MODE_MASK_NBITS, 32) |
| 12 | |
Michal Kubecek | 6b08d6c | 2019-12-27 15:55:33 +0100 | [diff] [blame] | 13 | enum ethtool_multicast_groups { |
| 14 | ETHNL_MCGRP_MONITOR, |
| 15 | }; |
Michal Kubecek | 2b4a899 | 2019-12-27 15:55:18 +0100 | [diff] [blame] | 16 | |
| 17 | #endif /* _LINUX_ETHTOOL_NETLINK_H_ */ |