summaryrefslogtreecommitdiff
path: root/usr/src/uts/common/net
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/uts/common/net')
-rw-r--r--usr/src/uts/common/net/if.h6
-rw-r--r--usr/src/uts/common/net/route.h4
2 files changed, 5 insertions, 5 deletions
diff --git a/usr/src/uts/common/net/if.h b/usr/src/uts/common/net/if.h
index 68ed7b6078..53d6996961 100644
--- a/usr/src/uts/common/net/if.h
+++ b/usr/src/uts/common/net/if.h
@@ -1,6 +1,5 @@
/*
- * Copyright 2010 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
+ * Copyright (c) 1991, 2010, Oracle and/or its affiliates. All rights reserved.
*/
/*
@@ -171,6 +170,7 @@ struct ifnet {
#define IFF_VRRP 0x10000000000ll /* Managed by VRRP */
#define IFF_NOLINKLOCAL 0x20000000000ll /* No default linklocal */
+#define IFF_L3PROTECT 0x40000000000ll /* Layer-3 protection enforced */
/* flags that cannot be changed by userland on any interface */
#define IFF_CANTCHANGE \
@@ -178,7 +178,7 @@ struct ifnet {
IFF_MULTICAST | IFF_MULTI_BCAST | IFF_UNNUMBERED | IFF_IPV4 | \
IFF_IPV6 | IFF_IPMP | IFF_FIXEDMTU | IFF_VIRTUAL | \
IFF_LOOPBACK | IFF_ALLMULTI | IFF_DUPLICATE | IFF_COS_ENABLED | \
- IFF_VRRP | IFF_NOLINKLOCAL)
+ IFF_VRRP | IFF_NOLINKLOCAL | IFF_L3PROTECT)
/* flags that cannot be changed by userland on an IPMP interface */
#define IFF_IPMP_CANTCHANGE IFF_FAILED
diff --git a/usr/src/uts/common/net/route.h b/usr/src/uts/common/net/route.h
index ee31935863..af42382b06 100644
--- a/usr/src/uts/common/net/route.h
+++ b/usr/src/uts/common/net/route.h
@@ -1,6 +1,5 @@
/*
- * Copyright 2009 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
+ * Copyright (c) 1991, 2010, Oracle and/or its affiliates. All rights reserved.
*/
/*
* Copyright (c) 1980, 1986, 1993
@@ -132,6 +131,7 @@ struct rtentry {
#define RTF_SETSRC 0x20000 /* set default outgoing src address */
#define RTF_INDIRECT 0x40000 /* gateway not directly reachable */
#define RTF_KERNEL 0x80000 /* created by kernel; can't delete */
+#define RTF_ZONE 0x100000 /* (NGZ only) route from global zone */
/*
* OLD statistics not used by the kernel. The kernel uses <inet/mib2.h>.