missing: move several network related entries to missing_network.h
This commit is contained in:
@@ -116,6 +116,11 @@
|
||||
#define NET_NAME_RENAMED 4
|
||||
#endif
|
||||
|
||||
/* netlink.h */
|
||||
#ifndef NETLINK_LIST_MEMBERSHIPS /* b42be38b2778eda2237fc759e55e3b698b05b315 (4.2) */
|
||||
#define NETLINK_LIST_MEMBERSHIPS 9
|
||||
#endif
|
||||
|
||||
/* rtnetlink.h */
|
||||
#ifndef RTA_PREF
|
||||
#define RTA_PREF 20
|
||||
@@ -128,3 +133,12 @@
|
||||
#ifndef RTA_EXPIRES
|
||||
#define RTA_EXPIRES 23
|
||||
#endif
|
||||
|
||||
/* Note that LOOPBACK_IFINDEX is currently not exported by the
|
||||
* kernel/glibc, but hardcoded internally by the kernel. However, as
|
||||
* it is exported to userspace indirectly via rtnetlink and the
|
||||
* ioctls, and made use of widely we define it here too, in a way that
|
||||
* is compatible with the kernel's internal definition. */
|
||||
#ifndef LOOPBACK_IFINDEX
|
||||
#define LOOPBACK_IFINDEX 1
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user