missing: define NET_NAME_UNKNOWN

It's only exposed to userspace since

  commit 685343fc3ba61a1f6eef361b786601123db16c28
  Author:     Tom Gundersen <teg@jklm.no>
  AuthorDate: Mon Jul 14 16:37:22 2014 +0200
  Commit:     David S. Miller <davem@davemloft.net>
  CommitDate: Tue Jul 15 16:12:01 2014 -0700

to the kernel.
This commit is contained in:
Colin Walters
2014-12-04 19:24:46 +01:00
committed by David Herrmann
parent 7eb08da4b3
commit 1cb636d92d
+4
View File
@@ -566,6 +566,10 @@ static inline int setns(int fd, int nstype) {
# define NET_ADDR_RANDOM 1
#endif
#ifndef NET_NAME_UNKNOWN
# define NET_NAME_UNKNOWN 0
#endif
#ifndef NET_NAME_ENUM
# define NET_NAME_ENUM 1
#endif