Print this page
OS-406

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/libdladm/common/libdladm.h
          +++ new/usr/src/lib/libdladm/common/libdladm.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) 2005, 2010, Oracle and/or its affiliates. All rights reserved.
       23 + * Copyright (c) 2011, Joyent, Inc. All rights reserved.
  23   24   */
  24   25  
  25   26  #ifndef _LIBDLADM_H
  26   27  #define _LIBDLADM_H
  27   28  
  28   29  #include <sys/dls_mgmt.h>
  29   30  #include <sys/dld.h>
  30   31  #include <sys/dlpi.h>
  31   32  #include <libnvpair.h>
  32   33  
↓ open down ↓ 31 lines elided ↑ open up ↑
  64   65   *
  65   66   *  - DLADM_OPT_VLAN:
  66   67   *    Signifies VLAN creation code path
  67   68   *
  68   69   *  - DLADM_OPT_NOREFRESH:
  69   70   *    Do not refresh the daemon after setting parameter (used by STP mcheck).
  70   71   *
  71   72   *  - DLADM_OPT_BOOT:
  72   73   *    Bypass check functions during boot (used by pool property since pools
  73   74   *    can come up after link properties are set)
       75 + *
       76 + *  - DLADM_OPT_TRANSIENT:
       77 + *    Indicates that the link assigned to a zone is transient and will be
       78 + *    removed when the zone shuts down.
  74   79   */
  75   80  #define DLADM_OPT_ACTIVE        0x00000001
  76   81  #define DLADM_OPT_PERSIST       0x00000002
  77   82  #define DLADM_OPT_CREATE        0x00000004
  78   83  #define DLADM_OPT_FORCE         0x00000008
  79   84  #define DLADM_OPT_PREFIX        0x00000010
  80   85  #define DLADM_OPT_ANCHOR        0x00000020
  81   86  #define DLADM_OPT_VLAN          0x00000040
  82   87  #define DLADM_OPT_NOREFRESH     0x00000080
  83   88  #define DLADM_OPT_BOOT          0x00000100
       89 +#define DLADM_OPT_TRANSIENT     0x00000200
  84   90  
  85   91  #define DLADM_WALK_TERMINATE    0
  86   92  #define DLADM_WALK_CONTINUE     -1
  87   93  
  88   94  #define DLADM_MAX_ARG_CNT       32
  89   95  #define DLADM_MAX_ARG_VALS      64
  90   96  
  91   97  typedef enum {
  92   98          DLADM_STATUS_OK = 0,
  93   99          DLADM_STATUS_BADARG,
↓ open down ↓ 202 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX