Print this page
7388 Support DHCP Client FQDN. Allow IAID/DUID for all v4.

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/cmd-inet/usr.sbin/nwamcfg/nwamcfg.h
          +++ new/usr/src/cmd/cmd-inet/usr.sbin/nwamcfg/nwamcfg.h
↓ open down ↓ 14 lines elided ↑ open up ↑
  15   15   * If applicable, add the following below this CDDL HEADER, with the
  16   16   * fields enclosed by brackets "[]" replaced with your own identifying
  17   17   * information: Portions Copyright [yyyy] [name of copyright owner]
  18   18   *
  19   19   * CDDL HEADER END
  20   20   */
  21   21  
  22   22  /*
  23   23   * Copyright 2010 Sun Microsystems, Inc.  All rights reserved.
  24   24   * Use is subject to license terms.
       25 + * Copyright (c) 2016, Chris Fraire <cfraire@me.com>.
  25   26   */
  26   27  
  27   28  #ifndef _NWAMCFG_H
  28   29  #define _NWAMCFG_H
  29   30  
  30   31  /*
  31   32   * header file for nwamcfg command
  32   33   */
  33   34  
  34   35  #ifdef __cplusplus
↓ open down ↓ 91 lines elided ↑ open up ↑
 126  127  #define PT_LOC_IPF_V6_CONFIG    35
 127  128  #define PT_LOC_IPNAT_CONFIG     36
 128  129  #define PT_LOC_IPPOOL_CONFIG    37
 129  130  #define PT_LOC_IKE_CONFIG       38
 130  131  #define PT_LOC_IPSECPOL_CONFIG  39
 131  132  #define PT_WLAN_BSSIDS          40
 132  133  #define PT_WLAN_PRIORITY        41
 133  134  #define PT_WLAN_KEYNAME         42
 134  135  #define PT_WLAN_KEYSLOT         43
 135  136  #define PT_WLAN_SECURITY_MODE   44
      137 +#define PT_IP_PRIMARY           45
      138 +#define PT_IP_REQHOST           46
 136  139  /*
 137  140   * If any new PT_ are defined here, make sure it is added in the same
 138  141   * order into the pt_types array in nwamcfg.c
 139  142   */
 140  143  #define PT_MIN                  PT_UNKNOWN
 141      -#define PT_MAX                  PT_WLAN_SECURITY_MODE
      144 +#define PT_MAX                  PT_IP_REQHOST
 142  145  
 143  146  #define MAX_SUBCMD_ARGS 3
 144  147  
 145  148  typedef struct cmd {
 146  149          int     cmd_num;
 147  150          void    (*cmd_handler)(struct cmd *);
 148  151          int     cmd_res1_type;
 149  152          int     cmd_res2_type;
 150  153          int     cmd_prop_type;
 151  154          int     cmd_ncu_class_type;
↓ open down ↓ 30 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX