summaryrefslogtreecommitdiff
path: root/usr/src/uts/common/sys/dld.h
diff options
context:
space:
mode:
authorCody Peter Mello <cody.mello@joyent.com>2016-02-25 22:30:47 +0000
committerCody Peter Mello <cody.mello@joyent.com>2016-03-18 18:12:59 +0000
commit8913b855787a36cb17b87a645af0c15fcb28aa12 (patch)
treea18563f1fac773ced79242f0dcc082962c622767 /usr/src/uts/common/sys/dld.h
parent92004ccfbcbbcc49104f719ffe2a12c724e76c4a (diff)
downloadillumos-joyent-OS-4683.tar.gz
OS-4683 Using the allowed-ips property prevents using dynamic addressesOS-4683
Diffstat (limited to 'usr/src/uts/common/sys/dld.h')
-rw-r--r--usr/src/uts/common/sys/dld.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/usr/src/uts/common/sys/dld.h b/usr/src/uts/common/sys/dld.h
index 4cd93be56e..b104cdfeef 100644
--- a/usr/src/uts/common/sys/dld.h
+++ b/usr/src/uts/common/sys/dld.h
@@ -21,7 +21,7 @@
/*
* Copyright 2010 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
- * Copyright 2011 Joyent, Inc. All rights reserved.
+ * Copyright 2016 Joyent, Inc. All rights reserved.
*/
#ifndef _SYS_DLD_H
@@ -327,6 +327,7 @@ typedef struct dld_hwgrpinfo {
#define DLD_CAPAB_POLL 0x00000002
#define DLD_CAPAB_PERIM 0x00000003
#define DLD_CAPAB_LSO 0x00000004
+#define DLD_CAPAB_IPCHECK 0x00000005
#define DLD_ENABLE 0x00000001
#define DLD_DISABLE 0x00000002
@@ -383,6 +384,11 @@ typedef struct dld_capab_direct_s {
uint_t di_flags;
} dld_capab_direct_t;
+typedef struct dld_capab_ipcheck_s {
+ uintptr_t ipc_allowed_df;
+ void *ipc_allowed_dh;
+} dld_capab_ipcheck_t;
+
/*
* Polling/softring capability.
*/