xref: /openbmc/linux/net/core/netdev-genl-gen.h (revision e847c767)
1 /* SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) */
2 /* Do not edit directly, auto-generated from: */
3 /*	Documentation/netlink/specs/netdev.yaml */
4 /* YNL-GEN kernel header */
5 
6 #ifndef _LINUX_NETDEV_GEN_H
7 #define _LINUX_NETDEV_GEN_H
8 
9 #include <net/netlink.h>
10 #include <net/genetlink.h>
11 
12 #include <linux/netdev.h>
13 
14 int netdev_nl_dev_get_doit(struct sk_buff *skb, struct genl_info *info);
15 int netdev_nl_dev_get_dumpit(struct sk_buff *skb, struct netlink_callback *cb);
16 
17 enum {
18 	NETDEV_NLGRP_MGMT,
19 };
20 
21 extern struct genl_family netdev_nl_family;
22 
23 #endif /* _LINUX_NETDEV_GEN_H */
24