blob: 662995084a90badcc14abac8a67fbdb096eae6aa [file] [log] [blame]
Elliott Hughes180edef2023-11-02 00:08:05 +00001/*
2 * This file is auto-generated. Modifications will be lost.
3 *
4 * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/
5 * for more information.
6 */
Ben Cheng655a7c02013-10-16 16:09:24 -07007#ifndef _UAPI_LINUX_NETCONF_H_
8#define _UAPI_LINUX_NETCONF_H_
9#include <linux/types.h>
10#include <linux/netlink.h>
Ben Cheng655a7c02013-10-16 16:09:24 -070011struct netconfmsg {
Tao Baod7db5942015-01-28 10:07:51 -080012 __u8 ncm_family;
Ben Cheng655a7c02013-10-16 16:09:24 -070013};
14enum {
Tao Baod7db5942015-01-28 10:07:51 -080015 NETCONFA_UNSPEC,
16 NETCONFA_IFINDEX,
17 NETCONFA_FORWARDING,
18 NETCONFA_RP_FILTER,
Tao Baod7db5942015-01-28 10:07:51 -080019 NETCONFA_MC_FORWARDING,
20 NETCONFA_PROXY_NEIGH,
Christopher Ferris05d08e92016-02-04 13:16:38 -080021 NETCONFA_IGNORE_ROUTES_WITH_LINKDOWN,
Christopher Ferris525ce912017-07-26 13:12:53 -070022 NETCONFA_INPUT,
Christopher Ferrisa981e2e2018-10-25 12:11:39 -070023 NETCONFA_BC_FORWARDING,
Tao Baod7db5942015-01-28 10:07:51 -080024 __NETCONFA_MAX
Christopher Ferris05d08e92016-02-04 13:16:38 -080025};
Christopher Ferris38062f92014-07-09 15:33:25 -070026#define NETCONFA_MAX (__NETCONFA_MAX - 1)
Christopher Ferris106b3a82016-08-24 12:15:38 -070027#define NETCONFA_ALL - 1
Tao Baod7db5942015-01-28 10:07:51 -080028#define NETCONFA_IFINDEX_ALL - 1
Christopher Ferris106b3a82016-08-24 12:15:38 -070029#define NETCONFA_IFINDEX_DEFAULT - 2
Christopher Ferris05d08e92016-02-04 13:16:38 -080030#endif