netconf.h (629B)
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 2#ifndef _UAPI_LINUX_NETCONF_H_ 3#define _UAPI_LINUX_NETCONF_H_ 4 5#include <linux/types.h> 6#include <linux/netlink.h> 7 8struct netconfmsg { 9 __u8 ncm_family; 10}; 11 12enum { 13 NETCONFA_UNSPEC, 14 NETCONFA_IFINDEX, 15 NETCONFA_FORWARDING, 16 NETCONFA_RP_FILTER, 17 NETCONFA_MC_FORWARDING, 18 NETCONFA_PROXY_NEIGH, 19 NETCONFA_IGNORE_ROUTES_WITH_LINKDOWN, 20 NETCONFA_INPUT, 21 NETCONFA_BC_FORWARDING, 22 __NETCONFA_MAX 23}; 24#define NETCONFA_MAX (__NETCONFA_MAX - 1) 25#define NETCONFA_ALL -1 26 27#define NETCONFA_IFINDEX_ALL -1 28#define NETCONFA_IFINDEX_DEFAULT -2 29 30#endif /* _UAPI_LINUX_NETCONF_H_ */