dhcpagent_ipc.h (7c478bd9) | dhcpagent_ipc.h (69bb4bb4) |
---|---|
1/* 2 * CDDL HEADER START 3 * 4 * The contents of this file are subject to the terms of the | 1/* 2 * CDDL HEADER START 3 * 4 * The contents of this file are subject to the terms of the |
5 * Common Development and Distribution License, Version 1.0 only 6 * (the "License"). You may not use this file except in compliance 7 * with the License. | 5 * Common Development and Distribution License (the "License"). 6 * You may not use this file except in compliance with the License. |
8 * 9 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 10 * or http://www.opensolaris.org/os/licensing. 11 * See the License for the specific language governing permissions 12 * and limitations under the License. 13 * 14 * When distributing Covered Code, include this CDDL HEADER in each 15 * file and include the License file at usr/src/OPENSOLARIS.LICENSE. 16 * If applicable, add the following below this CDDL HEADER, with the 17 * fields enclosed by brackets "[]" replaced with your own identifying 18 * information: Portions Copyright [yyyy] [name of copyright owner] 19 * 20 * CDDL HEADER END 21 */ 22/* | 7 * 8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9 * or http://www.opensolaris.org/os/licensing. 10 * See the License for the specific language governing permissions 11 * and limitations under the License. 12 * 13 * When distributing Covered Code, include this CDDL HEADER in each 14 * file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15 * If applicable, add the following below this CDDL HEADER, with the 16 * fields enclosed by brackets "[]" replaced with your own identifying 17 * information: Portions Copyright [yyyy] [name of copyright owner] 18 * 19 * CDDL HEADER END 20 */ 21/* |
23 * Copyright 2005 Sun Microsystems, Inc. All rights reserved. | 22 * Copyright 2006 Sun Microsystems, Inc. All rights reserved. |
24 * Use is subject to license terms. 25 */ 26 27#ifndef _DHCPAGENT_IPC_H 28#define _DHCPAGENT_IPC_H 29 30#pragma ident "%Z%%M% %I% %E% SMI" 31 --- 133 unchanged lines hidden (view full) --- 165 * code in this library and dhcpagent rely on the numeric values of these 166 * requests -- but there's no sane reason to change them anyway. 167 */ 168 169typedef enum { 170 INIT, /* nothing done yet */ 171 SELECTING, /* sent DISCOVER, waiting for OFFERs */ 172 REQUESTING, /* sent REQUEST, waiting for ACK/NAK */ | 23 * Use is subject to license terms. 24 */ 25 26#ifndef _DHCPAGENT_IPC_H 27#define _DHCPAGENT_IPC_H 28 29#pragma ident "%Z%%M% %I% %E% SMI" 30 --- 133 unchanged lines hidden (view full) --- 164 * code in this library and dhcpagent rely on the numeric values of these 165 * requests -- but there's no sane reason to change them anyway. 166 */ 167 168typedef enum { 169 INIT, /* nothing done yet */ 170 SELECTING, /* sent DISCOVER, waiting for OFFERs */ 171 REQUESTING, /* sent REQUEST, waiting for ACK/NAK */ |
172 PRE_BOUND, /* have ACK, setting up interface */ |
|
173 BOUND, /* have a valid lease */ 174 RENEWING, /* have lease, but trying to renew */ 175 REBINDING, /* have lease, but trying to rebind */ 176 INFORMATION, /* sent INFORM, received ACK */ 177 INIT_REBOOT, /* attempting to use cached ACK */ 178 ADOPTING, /* attempting to adopt */ 179 INFORM_SENT, /* sent INFORM, awaiting ACK */ 180 DHCP_NSTATES /* total number of states */ --- 102 unchanged lines hidden --- | 173 BOUND, /* have a valid lease */ 174 RENEWING, /* have lease, but trying to renew */ 175 REBINDING, /* have lease, but trying to rebind */ 176 INFORMATION, /* sent INFORM, received ACK */ 177 INIT_REBOOT, /* attempting to use cached ACK */ 178 ADOPTING, /* attempting to adopt */ 179 INFORM_SENT, /* sent INFORM, awaiting ACK */ 180 DHCP_NSTATES /* total number of states */ --- 102 unchanged lines hidden --- |