config.c (7c478bd9) config.c (d04ccbb3)
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 2003 Sun Microsystems, Inc. All rights reserved.
22 * Copyright 2007 Sun Microsystems, Inc. All rights reserved.
24 * Use is subject to license terms.
25 */
26
27#pragma ident "%Z%%M% %I% %E% SMI"
28
29#include "defs.h"
30#include "tables.h"
31

--- 69 unchanged lines hidden (view full) ---

101 { "AdvRetransTimer", 0, ~0U, 0, I_AdvRetransTimer, parse_ms },
102 { "AdvCurHopLimit", 0, 255, 0, I_AdvCurHopLimit, parse_int },
103 { "AdvDefaultLifetime", 0, 9000, 1800, I_AdvDefaultLifetime, parse_s },
104 /*
105 * MUST be either zero or between MaxRtrAdvInterval and 9000 seconds.
106 * Default: 3 * MaxRtrAdvInterval
107 */
108 { "StatelessAddrConf", 0, 1, 1, I_StatelessAddrConf, parse_onoff },
23 * Use is subject to license terms.
24 */
25
26#pragma ident "%Z%%M% %I% %E% SMI"
27
28#include "defs.h"
29#include "tables.h"
30

--- 69 unchanged lines hidden (view full) ---

100 { "AdvRetransTimer", 0, ~0U, 0, I_AdvRetransTimer, parse_ms },
101 { "AdvCurHopLimit", 0, 255, 0, I_AdvCurHopLimit, parse_int },
102 { "AdvDefaultLifetime", 0, 9000, 1800, I_AdvDefaultLifetime, parse_s },
103 /*
104 * MUST be either zero or between MaxRtrAdvInterval and 9000 seconds.
105 * Default: 3 * MaxRtrAdvInterval
106 */
107 { "StatelessAddrConf", 0, 1, 1, I_StatelessAddrConf, parse_onoff },
108 { "StatefulAddrConf", 0, 1, 1, I_StatefulAddrConf, parse_onoff },
109 /*
110 * Tmp* variables from RFC 3041, where defaults are defined.
111 */
112 { "TmpAddrsEnabled", 0, 1, 0, I_TmpAddrsEnabled, parse_onoff },
113 { "TmpValidLifetime", 0, ~0U, 604800, I_TmpValidLifetime, parse_s },
114 { "TmpPreferredLifetime", 0, ~0U, 86400, I_TmpPreferredLifetime,
115 parse_s },
116 { "TmpRegenAdvance", 0, 60, 5, I_TmpRegenAdvance, parse_s },

--- 866 unchanged lines hidden ---
109 /*
110 * Tmp* variables from RFC 3041, where defaults are defined.
111 */
112 { "TmpAddrsEnabled", 0, 1, 0, I_TmpAddrsEnabled, parse_onoff },
113 { "TmpValidLifetime", 0, ~0U, 604800, I_TmpValidLifetime, parse_s },
114 { "TmpPreferredLifetime", 0, ~0U, 86400, I_TmpPreferredLifetime,
115 parse_s },
116 { "TmpRegenAdvance", 0, 60, 5, I_TmpRegenAdvance, parse_s },

--- 866 unchanged lines hidden ---