Print this page
7388 Support DHCP Client FQDN. Allow IAID/DUID for all v4.
   1 #
   2 # Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
   3 # Use is subject to license terms.

   4 #
   5 # CDDL HEADER START
   6 #
   7 # The contents of this file are subject to the terms of the
   8 # Common Development and Distribution License, Version 1.0 only
   9 # (the "License").  You may not use this file except in compliance
  10 # with the License.
  11 #
  12 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
  13 # or http://www.opensolaris.org/os/licensing.
  14 # See the License for the specific language governing permissions
  15 # and limitations under the License.
  16 #
  17 # When distributing Covered Code, include this CDDL HEADER in each
  18 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  19 # If applicable, add the following below this CDDL HEADER, with the
  20 # fields enclosed by brackets "[]" replaced with your own identifying
  21 # information: Portions Copyright [yyyy] [name of copyright owner]
  22 #
  23 # CDDL HEADER END


  97 ClassID         STANDARD,       60,     ASCII,     1,   0,      sdi
  98 ClientID        STANDARD,       61,     OCTET,     1,   0,      sdi
  99 NW_dmain        STANDARD,       62,     ASCII,     1,   0,      sdmi
 100 NWIPOpts        STANDARD,       63,     OCTET,     1,   128,    sdmi
 101 NIS+dom         STANDARD,       64,     ASCII,     1,   0,      sdmi
 102 NIS+serv        STANDARD,       65,     IP,        1,   0,      sdmi
 103 TFTPsrvN        STANDARD,       66,     ASCII,     1,   64,     sdmi
 104 OptBootF        STANDARD,       67,     ASCII,     1,   128,    sdmi
 105 MblIPAgt        STANDARD,       68,     IP,        1,   0,      sdmi
 106 SMTPserv        STANDARD,       69,     IP,        1,   0,      sdmi
 107 POP3serv        STANDARD,       70,     IP,        1,   0,      sdmi
 108 NNTPserv        STANDARD,       71,     IP,        1,   0,      sdmi
 109 WWWservs        STANDARD,       72,     IP,        1,   0,      sdmi
 110 Fingersv        STANDARD,       73,     IP,        1,   0,      sdmi
 111 IRCservs        STANDARD,       74,     IP,        1,   0,      sdmi
 112 STservs         STANDARD,       75,     IP,        1,   0,      sdmi
 113 STDAservs       STANDARD,       76,     IP,        1,   0,      sdmi
 114 UserClas        STANDARD,       77,     ASCII,     1,   0,      sdi
 115 SLP_DA          STANDARD,       78,     OCTET,     1,   0,      sdmi
 116 SLP_SS          STANDARD,       79,     OCTET,     1,   0,      sdmi

 117 AgentOpt        STANDARD,       82,     OCTET,     1,   0,      sdi
 118 FQDN            STANDARD,       89,     OCTET,     1,   0,      sdmi
 119 
 120 #
 121 # DHCP packet fields.   Code field is byte offset into DHCP packet.
 122 #
 123 
 124 Opcode          FIELD,          0,      UNUMBER8,  1,   1,      id
 125 Htype           FIELD,          1,      UNUMBER8,  1,   1,      id
 126 HLen            FIELD,          2,      UNUMBER8,  1,   1,      id
 127 Hops            FIELD,          3,      UNUMBER8,  1,   1,      id
 128 Xid             FIELD,          4,      UNUMBER32, 1,   1,      id
 129 Secs            FIELD,          8,      UNUMBER16, 1,   1,      id
 130 Flags           FIELD,          10,     OCTET,     1,   2,      id
 131 Ciaddr          FIELD,          12,     IP,        1,   1,      id
 132 Yiaddr          FIELD,          16,     IP,        1,   1,      id
 133 BootSrvA        FIELD,          20,     IP,        1,   1,      idm
 134 Giaddr          FIELD,          24,     IP,        1,   1,      id
 135 Chaddr          FIELD,          28,     OCTET,     1,   16,     id
 136 BootSrvN        FIELD,          44,     ASCII,     1,   64,     idm


   1 #
   2 # Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
   3 # Use is subject to license terms.
   4 # Copyright (c) 2016, Chris Fraire <cfraire@me.com>.
   5 #
   6 # CDDL HEADER START
   7 #
   8 # The contents of this file are subject to the terms of the
   9 # Common Development and Distribution License, Version 1.0 only
  10 # (the "License").  You may not use this file except in compliance
  11 # with the License.
  12 #
  13 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
  14 # or http://www.opensolaris.org/os/licensing.
  15 # See the License for the specific language governing permissions
  16 # and limitations under the License.
  17 #
  18 # When distributing Covered Code, include this CDDL HEADER in each
  19 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  20 # If applicable, add the following below this CDDL HEADER, with the
  21 # fields enclosed by brackets "[]" replaced with your own identifying
  22 # information: Portions Copyright [yyyy] [name of copyright owner]
  23 #
  24 # CDDL HEADER END


  98 ClassID         STANDARD,       60,     ASCII,     1,   0,      sdi
  99 ClientID        STANDARD,       61,     OCTET,     1,   0,      sdi
 100 NW_dmain        STANDARD,       62,     ASCII,     1,   0,      sdmi
 101 NWIPOpts        STANDARD,       63,     OCTET,     1,   128,    sdmi
 102 NIS+dom         STANDARD,       64,     ASCII,     1,   0,      sdmi
 103 NIS+serv        STANDARD,       65,     IP,        1,   0,      sdmi
 104 TFTPsrvN        STANDARD,       66,     ASCII,     1,   64,     sdmi
 105 OptBootF        STANDARD,       67,     ASCII,     1,   128,    sdmi
 106 MblIPAgt        STANDARD,       68,     IP,        1,   0,      sdmi
 107 SMTPserv        STANDARD,       69,     IP,        1,   0,      sdmi
 108 POP3serv        STANDARD,       70,     IP,        1,   0,      sdmi
 109 NNTPserv        STANDARD,       71,     IP,        1,   0,      sdmi
 110 WWWservs        STANDARD,       72,     IP,        1,   0,      sdmi
 111 Fingersv        STANDARD,       73,     IP,        1,   0,      sdmi
 112 IRCservs        STANDARD,       74,     IP,        1,   0,      sdmi
 113 STservs         STANDARD,       75,     IP,        1,   0,      sdmi
 114 STDAservs       STANDARD,       76,     IP,        1,   0,      sdmi
 115 UserClas        STANDARD,       77,     ASCII,     1,   0,      sdi
 116 SLP_DA          STANDARD,       78,     OCTET,     1,   0,      sdmi
 117 SLP_SS          STANDARD,       79,     OCTET,     1,   0,      sdmi
 118 ClientFQDN      STANDARD,       81,     OCTET,     1,   0,      sdmi
 119 AgentOpt        STANDARD,       82,     OCTET,     1,   0,      sdi
 120 FQDN            STANDARD,       89,     OCTET,     1,   0,      sdmi
 121 
 122 #
 123 # DHCP packet fields.   Code field is byte offset into DHCP packet.
 124 #
 125 
 126 Opcode          FIELD,          0,      UNUMBER8,  1,   1,      id
 127 Htype           FIELD,          1,      UNUMBER8,  1,   1,      id
 128 HLen            FIELD,          2,      UNUMBER8,  1,   1,      id
 129 Hops            FIELD,          3,      UNUMBER8,  1,   1,      id
 130 Xid             FIELD,          4,      UNUMBER32, 1,   1,      id
 131 Secs            FIELD,          8,      UNUMBER16, 1,   1,      id
 132 Flags           FIELD,          10,     OCTET,     1,   2,      id
 133 Ciaddr          FIELD,          12,     IP,        1,   1,      id
 134 Yiaddr          FIELD,          16,     IP,        1,   1,      id
 135 BootSrvA        FIELD,          20,     IP,        1,   1,      idm
 136 Giaddr          FIELD,          24,     IP,        1,   1,      id
 137 Chaddr          FIELD,          28,     OCTET,     1,   16,     id
 138 BootSrvN        FIELD,          44,     ASCII,     1,   64,     idm