120 #define PT_IMPORTANCE   22
 121 #define PT_SWAP         23
 122 #define PT_LOCKED       24
 123 #define PT_SHARES       25
 124 #define PT_MAXLWPS      26
 125 #define PT_MAXSHMMEM    27
 126 #define PT_MAXSHMIDS    28
 127 #define PT_MAXMSGIDS    29
 128 #define PT_MAXSEMIDS    30
 129 #define PT_MAXLOCKEDMEM 31
 130 #define PT_MAXSWAP      32
 131 #define PT_SCHED        33
 132 #define PT_IPTYPE       34
 133 #define PT_DEFROUTER    35
 134 #define PT_HOSTID       36
 135 #define PT_USER         37
 136 #define PT_AUTHS        38
 137 #define PT_FS_ALLOWED   39
 138 #define PT_MAXPROCS     40
 139 #define PT_ALLOWED_ADDRESS      41
 140 
 141 #define PT_MIN          PT_UNKNOWN
 142 #define PT_MAX          PT_ALLOWED_ADDRESS
 143 
 144 #define MAX_EQ_PROP_PAIRS       3
 145 
 146 #define PROP_VAL_SIMPLE         0
 147 #define PROP_VAL_COMPLEX        1
 148 #define PROP_VAL_LIST           2
 149 
 150 #define PROP_VAL_MIN            PROP_VAL_SIMPLE
 151 #define PROP_VAL_MAX            PROP_VAL_LIST
 152 
 153 /*
 154  * If any subcommand is ever modified to take more than three arguments,
 155  * this will need to be incremented.
 156  */
 157 #define MAX_SUBCMD_ARGS         3
 158 
 159 typedef struct complex_property {
 160         int     cp_type;        /* from the PT_* list above */
 161         char    *cp_value;
 162         struct complex_property *cp_next;
 
 | 
 
 
 120 #define PT_IMPORTANCE   22
 121 #define PT_SWAP         23
 122 #define PT_LOCKED       24
 123 #define PT_SHARES       25
 124 #define PT_MAXLWPS      26
 125 #define PT_MAXSHMMEM    27
 126 #define PT_MAXSHMIDS    28
 127 #define PT_MAXMSGIDS    29
 128 #define PT_MAXSEMIDS    30
 129 #define PT_MAXLOCKEDMEM 31
 130 #define PT_MAXSWAP      32
 131 #define PT_SCHED        33
 132 #define PT_IPTYPE       34
 133 #define PT_DEFROUTER    35
 134 #define PT_HOSTID       36
 135 #define PT_USER         37
 136 #define PT_AUTHS        38
 137 #define PT_FS_ALLOWED   39
 138 #define PT_MAXPROCS     40
 139 #define PT_ALLOWED_ADDRESS      41
 140 #define PT_ZFSPRI       42
 141 #define PT_MAC          43
 142 #define PT_VLANID       44
 143 #define PT_GNIC         45
 144 #define PT_NPROP        46
 145 
 146 #define PT_MIN          PT_UNKNOWN
 147 #define PT_MAX          PT_NPROP
 148 
 149 #define MAX_EQ_PROP_PAIRS       3
 150 
 151 #define PROP_VAL_SIMPLE         0
 152 #define PROP_VAL_COMPLEX        1
 153 #define PROP_VAL_LIST           2
 154 
 155 #define PROP_VAL_MIN            PROP_VAL_SIMPLE
 156 #define PROP_VAL_MAX            PROP_VAL_LIST
 157 
 158 /*
 159  * If any subcommand is ever modified to take more than three arguments,
 160  * this will need to be incremented.
 161  */
 162 #define MAX_SUBCMD_ARGS         3
 163 
 164 typedef struct complex_property {
 165         int     cp_type;        /* from the PT_* list above */
 166         char    *cp_value;
 167         struct complex_property *cp_next;
 
 |