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

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/libnwam/common/libnwam.h
          +++ new/usr/src/lib/libnwam/common/libnwam.h
↓ open down ↓ 12 lines elided ↑ open up ↑
  13   13   * When distributing Covered Code, include this CDDL HEADER in each
  14   14   * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  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   * Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved.
       23 + * Copyright (c) 2016, Chris Fraire <cfraire@me.com>.
  23   24   */
  24   25  
  25   26  /*
  26   27   * This file contains data structures and APIs of libnwam.
  27   28   * Implementation is MT safe.
  28   29   */
  29   30  #ifndef _LIBNWAM_H
  30   31  #define _LIBNWAM_H
  31   32  
  32   33  #ifdef  __cplusplus
↓ open down ↓ 407 lines elided ↑ open up ↑
 440  441  #define NWAM_NCU_PROP_LINK_MTU                  "link-mtu"
 441  442  
 442  443  /* IP NCU properties */
 443  444  #define NWAM_NCU_PROP_IP_VERSION                "ip-version"
 444  445  #define NWAM_NCU_PROP_IPV4_ADDRSRC              "ipv4-addrsrc"
 445  446  #define NWAM_NCU_PROP_IPV4_ADDR                 "ipv4-addr"
 446  447  #define NWAM_NCU_PROP_IPV4_DEFAULT_ROUTE        "ipv4-default-route"
 447  448  #define NWAM_NCU_PROP_IPV6_ADDRSRC              "ipv6-addrsrc"
 448  449  #define NWAM_NCU_PROP_IPV6_ADDR                 "ipv6-addr"
 449  450  #define NWAM_NCU_PROP_IPV6_DEFAULT_ROUTE        "ipv6-default-route"
      451 +#define NWAM_NCU_PROP_IP_PRIMARY                "ip-primary"
      452 +#define NWAM_NCU_PROP_IP_REQHOST                "ip-reqhost"
 450  453  
 451  454  /* Some properties should only be set on creation */
 452  455  #define NWAM_NCU_PROP_SETONCE(prop)     \
 453  456                                  (strcmp(prop, NWAM_NCU_PROP_TYPE) == 0 || \
 454  457                                  strcmp(prop, NWAM_NCU_PROP_CLASS) == 0 || \
 455  458                                  strcmp(prop, NWAM_NCU_PROP_PARENT_NCP) == 0)
 456  459  /*
 457  460   * ENM definitions
 458  461   */
 459  462  
↓ open down ↓ 603 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX