Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
dhcp
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
64
Issues
64
List
Boards
Labels
Service Desk
Milestones
Merge Requests
16
Merge Requests
16
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ISC Open Source Projects
dhcp
Commits
49733f31
Commit
49733f31
authored
Mar 17, 2000
by
Ted Lemon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Go back to the BSD license.
parent
164f9c7e
Changes
93
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
93 changed files
with
3024 additions
and
1103 deletions
+3024
-1103
client/clparse.c
client/clparse.c
+33
-12
client/dhclient.c
client/dhclient.c
+27
-13
client/omapi.c
client/omapi.c
+40
-1
common/alloc.c
common/alloc.c
+34
-13
common/auth.c
common/auth.c
+34
-13
common/bpf.c
common/bpf.c
+34
-13
common/conflex.c
common/conflex.c
+34
-13
common/convert.c
common/convert.c
+33
-12
common/discover.c
common/discover.c
+34
-13
common/dispatch.c
common/dispatch.c
+34
-13
common/dlpi.c
common/dlpi.c
+28
-14
common/dns.c
common/dns.c
+33
-12
common/ethernet.c
common/ethernet.c
+34
-13
common/execute.c
common/execute.c
+34
-13
common/hash.c
common/hash.c
+34
-13
common/icmp.c
common/icmp.c
+34
-13
common/inet.c
common/inet.c
+34
-13
common/lpf.c
common/lpf.c
+27
-13
common/memory.c
common/memory.c
+34
-13
common/nit.c
common/nit.c
+34
-13
common/options.c
common/options.c
+34
-13
common/packet.c
common/packet.c
+32
-12
common/parse.c
common/parse.c
+34
-13
common/print.c
common/print.c
+34
-13
common/raw.c
common/raw.c
+34
-13
common/resolv.c
common/resolv.c
+34
-13
common/socket.c
common/socket.c
+34
-13
common/tables.c
common/tables.c
+34
-13
common/tr.c
common/tr.c
+35
-16
common/tree.c
common/tree.c
+34
-13
common/upf.c
common/upf.c
+34
-13
dhcpctl/callback.c
dhcpctl/callback.c
+33
-12
dhcpctl/cltest.c
dhcpctl/cltest.c
+34
-0
dhcpctl/dhcpctl.c
dhcpctl/dhcpctl.c
+33
-12
dhcpctl/dhcpctl.h
dhcpctl/dhcpctl.h
+33
-12
dhcpctl/remote.c
dhcpctl/remote.c
+33
-12
dhcpctl/test.c
dhcpctl/test.c
+33
-12
includes/auth.h
includes/auth.h
+34
-13
includes/cdefs.h
includes/cdefs.h
+25
-12
includes/cf/aix.h
includes/cf/aix.h
+25
-14
includes/cf/alphaosf.h
includes/cf/alphaosf.h
+32
-11
includes/cf/bsdos.h
includes/cf/bsdos.h
+32
-11
includes/cf/cygwin32.h
includes/cf/cygwin32.h
+34
-12
includes/cf/freebsd.h
includes/cf/freebsd.h
+32
-11
includes/cf/hpux.h
includes/cf/hpux.h
+36
-12
includes/cf/irix.h
includes/cf/irix.h
+0
-1
includes/cf/linux.h
includes/cf/linux.h
+32
-11
includes/cf/netbsd.h
includes/cf/netbsd.h
+32
-11
includes/cf/nextstep.h
includes/cf/nextstep.h
+36
-12
includes/cf/openbsd.h
includes/cf/openbsd.h
+32
-11
includes/cf/qnx.h
includes/cf/qnx.h
+33
-13
includes/cf/rhapsody.h
includes/cf/rhapsody.h
+32
-11
includes/cf/sample.h
includes/cf/sample.h
+35
-12
includes/cf/sco.h
includes/cf/sco.h
+32
-11
includes/cf/sunos4.h
includes/cf/sunos4.h
+32
-11
includes/cf/sunos5-5.h
includes/cf/sunos5-5.h
+32
-11
includes/cf/ultrix.h
includes/cf/ultrix.h
+32
-11
includes/dhcpd.h
includes/dhcpd.h
+32
-11
includes/dhctoken.h
includes/dhctoken.h
+32
-11
includes/failover.h
includes/failover.h
+32
-11
includes/hash.h
includes/hash.h
+32
-11
includes/inet.h
includes/inet.h
+32
-11
includes/omapip/alloc.h
includes/omapip/alloc.h
+32
-11
includes/omapip/buffer.h
includes/omapip/buffer.h
+32
-11
includes/omapip/omapip.h
includes/omapip/omapip.h
+32
-11
includes/omapip/omapip_p.h
includes/omapip/omapip_p.h
+32
-11
includes/osdep.h
includes/osdep.h
+32
-11
includes/statement.h
includes/statement.h
+32
-11
includes/tree.h
includes/tree.h
+32
-11
omapip/alloc.c
omapip/alloc.c
+33
-12
omapip/buffer.c
omapip/buffer.c
+33
-12
omapip/connection.c
omapip/connection.c
+33
-12
omapip/dispatch.c
omapip/dispatch.c
+33
-12
omapip/errwarn.c
omapip/errwarn.c
+26
-13
omapip/generic.c
omapip/generic.c
+33
-12
omapip/handle.c
omapip/handle.c
+33
-12
omapip/listener.c
omapip/listener.c
+33
-12
omapip/message.c
omapip/message.c
+33
-12
omapip/protocol.c
omapip/protocol.c
+33
-12
omapip/result.c
omapip/result.c
+33
-12
omapip/support.c
omapip/support.c
+33
-12
omapip/test.c
omapip/test.c
+33
-12
relay/dhcrelay.c
relay/dhcrelay.c
+34
-13
server/bootp.c
server/bootp.c
+34
-13
server/class.c
server/class.c
+35
-13
server/confpars.c
server/confpars.c
+34
-13
server/db.c
server/db.c
+34
-13
server/dhcp.c
server/dhcp.c
+34
-13
server/dhcpd.c
server/dhcpd.c
+33
-12
server/failover.c
server/failover.c
+34
-13
server/mdb.c
server/mdb.c
+33
-12
server/omapi.c
server/omapi.c
+34
-13
server/stables.c
server/stables.c
+34
-13
No files found.
client/clparse.c
View file @
49733f31
...
@@ -4,25 +4,46 @@
...
@@ -4,25 +4,46 @@
/*
/*
* Copyright (c) 1996-2000 Internet Software Consortium.
* Copyright (c) 1996-2000 Internet Software Consortium.
* Use is subject to license terms which appear in the file named
* All rights reserved.
* ISC-LICENSE that should have accompanied this file when you
* received it. If a file named ISC-LICENSE did not accompany this
* file, or you are not sure the one you have is correct, you may
* obtain an applicable copy of the license at:
*
*
* http://www.isc.org/isc-license-1.0.html.
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
*
* This file is part of the ISC DHCP distribution. The documentation
* 1. Redistributions of source code must retain the above copyright
* associated with this file is listed in the file DOCUMENTATION,
* notice, this list of conditions and the following disclaimer.
* included in the top-level directory of this release.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. Neither the name of The Internet Software Consortium nor the names
* of its contributors may be used to endorse or promote products derived
* from this software without specific prior written permission.
*
*
* Support and other services are available for ISC products - see
* THIS SOFTWARE IS PROVIDED BY THE INTERNET SOFTWARE CONSORTIUM AND
* http://www.isc.org for more information.
* CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES,
* INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
* DISCLAIMED. IN NO EVENT SHALL THE INTERNET SOFTWARE CONSORTIUM OR
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
* USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
* OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* This software has been written for the Internet Software Consortium
* by Ted Lemon in cooperation with Vixie Enterprises and Nominum, Inc.
* To learn more about the Internet Software Consortium, see
* ``http://www.isc.org/''. To learn more about Vixie Enterprises,
* see ``http://www.vix.com''. To learn more about Nominum, Inc., see
* ``http://www.nominum.com''.
*/
*/
#ifndef lint
#ifndef lint
static
char
copyright
[]
=
static
char
copyright
[]
=
"$Id: clparse.c,v 1.4
1 2000/01/26 14:55:26 mellon Exp $ Copyright (c) 1997
The Internet Software Consortium. All rights reserved.
\n
"
;
"$Id: clparse.c,v 1.4
2 2000/03/17 03:58:55 mellon Exp $ Copyright (c) 1996-2000
The Internet Software Consortium. All rights reserved.
\n
"
;
#endif
/* not lint */
#endif
/* not lint */
#include "dhcpd.h"
#include "dhcpd.h"
...
...
client/dhclient.c
View file @
49733f31
...
@@ -3,21 +3,35 @@
...
@@ -3,21 +3,35 @@
DHCP Client. */
DHCP Client. */
/*
/*
* Copyright (c) 1996-2000 Internet Software Consortium.
* Copyright (c) 1995-2000 Internet Software Consortium.
* Use is subject to license terms which appear in the file named
* All rights reserved.
* ISC-LICENSE that should have accompanied this file when you
* received it. If a file named ISC-LICENSE did not accompany this
* file, or you are not sure the one you have is correct, you may
* obtain an applicable copy of the license at:
*
*
* http://www.isc.org/isc-license-1.0.html.
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
*
* This file is part of the ISC DHCP distribution. The documentation
* 1. Redistributions of source code must retain the above copyright
* associated with this file is listed in the file DOCUMENTATION,
* notice, this list of conditions and the following disclaimer.
* included in the top-level directory of this release.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. Neither the name of The Internet Software Consortium nor the names
* of its contributors may be used to endorse or promote products derived
* from this software without specific prior written permission.
*
*
* Support and other services are available for ISC products - see
* THIS SOFTWARE IS PROVIDED BY THE INTERNET SOFTWARE CONSORTIUM AND
* http://www.isc.org for more information.
* CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES,
* INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
* DISCLAIMED. IN NO EVENT SHALL THE INTERNET SOFTWARE CONSORTIUM OR
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
* USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
* OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
*
* This code was originally written by Ted Lemon. Elliot Poger wrote
* This code was originally written by Ted Lemon. Elliot Poger wrote
* a state machine to fully implement the client side of the DHCP
* a state machine to fully implement the client side of the DHCP
...
@@ -29,7 +43,7 @@
...
@@ -29,7 +43,7 @@
#ifndef lint
#ifndef lint
static
char
ocopyright
[]
=
static
char
ocopyright
[]
=
"$Id: dhclient.c,v 1.9
7 2000/02/15 20:40:27
mellon Exp $ Copyright (c) 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium. All rights reserved.
\n
"
;
"$Id: dhclient.c,v 1.9
8 2000/03/17 03:58:56
mellon Exp $ Copyright (c) 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium. All rights reserved.
\n
"
;
#endif
/* not lint */
#endif
/* not lint */
#include "dhcpd.h"
#include "dhcpd.h"
...
...
client/omapi.c
View file @
49733f31
...
@@ -2,9 +2,48 @@
...
@@ -2,9 +2,48 @@
OMAPI object interfaces for the DHCP client. */
OMAPI object interfaces for the DHCP client. */
/*
* Copyright (c) 2000 The Internet Software Consortium
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. Neither the name of The Internet Software Consortium nor the names
* of its contributors may be used to endorse or promote products derived
* from this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE INTERNET SOFTWARE CONSORTIUM AND
* CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES,
* INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
* DISCLAIMED. IN NO EVENT SHALL THE INTERNET SOFTWARE CONSORTIUM OR
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
* USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
* OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* This software has been written for the Internet Software Consortium
* by Ted Lemon in cooperation with Vixie Enterprises and Nominum, Inc.
* To learn more about the Internet Software Consortium, see
* ``http://www.isc.org/''. To learn more about Vixie Enterprises,
* see ``http://www.vix.com''. To learn more about Nominum, Inc., see
* ``http://www.nominum.com''.
*/
#ifndef lint
#ifndef lint
static
char
copyright
[]
=
static
char
copyright
[]
=
"$Id: omapi.c,v 1.
3 2000/02/15 20:40:27 mellon Exp $ Copyright (c) 1995, 1996, 1997, 1998, 1999
The Internet Software Consortium. All rights reserved.
\n
"
;
"$Id: omapi.c,v 1.
4 2000/03/17 03:58:56 mellon Exp $ Copyright (c) 2000
The Internet Software Consortium. All rights reserved.
\n
"
;
#endif
/* not lint */
#endif
/* not lint */
#include "dhcpd.h"
#include "dhcpd.h"
...
...
common/alloc.c
View file @
49733f31
...
@@ -3,26 +3,47 @@
...
@@ -3,26 +3,47 @@
Memory allocation... */
Memory allocation... */
/*
/*
* Copyright (c) 1996-1999 Internet Software Consortium.
* Copyright (c) 1996-2000 Internet Software Consortium.
* Use is subject to license terms which appear in the file named
* All rights reserved.
* ISC-LICENSE that should have accompanied this file when you
* received it. If a file named ISC-LICENSE did not accompany this
* file, or you are not sure the one you have is correct, you may
* obtain an applicable copy of the license at:
*
*
* http://www.isc.org/isc-license-1.0.html.
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
*
* This file is part of the ISC DHCP distribution. The documentation
* 1. Redistributions of source code must retain the above copyright
* associated with this file is listed in the file DOCUMENTATION,
* notice, this list of conditions and the following disclaimer.
* included in the top-level directory of this release.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. Neither the name of The Internet Software Consortium nor the names
* of its contributors may be used to endorse or promote products derived
* from this software without specific prior written permission.
*
*
* Support and other services are available for ISC products - see
* THIS SOFTWARE IS PROVIDED BY THE INTERNET SOFTWARE CONSORTIUM AND
* http://www.isc.org for more information.
* CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES,
* INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
* DISCLAIMED. IN NO EVENT SHALL THE INTERNET SOFTWARE CONSORTIUM OR
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
* USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
* OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* This software has been written for the Internet Software Consortium
* by Ted Lemon in cooperation with Vixie Enterprises and Nominum, Inc.
* To learn more about the Internet Software Consortium, see
* ``http://www.isc.org/''. To learn more about Vixie Enterprises,
* see ``http://www.vix.com''. To learn more about Nominum, Inc., see
* ``http://www.nominum.com''.
*/
*/
#ifndef lint
#ifndef lint
static
char
copyright
[]
=
static
char
copyright
[]
=
"$Id: alloc.c,v 1.4
5 2000/03/06 19:37:38 mellon Exp $ Copyright (c) 1995, 1996, 1998
The Internet Software Consortium. All rights reserved.
\n
"
;
"$Id: alloc.c,v 1.4
6 2000/03/17 03:59:00 mellon Exp $ Copyright (c) 1996-2000
The Internet Software Consortium. All rights reserved.
\n
"
;
#endif
/* not lint */
#endif
/* not lint */
#include "dhcpd.h"
#include "dhcpd.h"
...
...
common/auth.c
View file @
49733f31
...
@@ -3,26 +3,47 @@
...
@@ -3,26 +3,47 @@
Subroutines having to do with authentication. */
Subroutines having to do with authentication. */
/*
/*
* Copyright (c) 1996-1999 Internet Software Consortium.
* Copyright (c) 1998-2000 Internet Software Consortium.
* Use is subject to license terms which appear in the file named
* All rights reserved.
* ISC-LICENSE that should have accompanied this file when you
* received it. If a file named ISC-LICENSE did not accompany this
* file, or you are not sure the one you have is correct, you may
* obtain an applicable copy of the license at:
*
*
* http://www.isc.org/isc-license-1.0.html.
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
*
* This file is part of the ISC DHCP distribution. The documentation
* 1. Redistributions of source code must retain the above copyright
* associated with this file is listed in the file DOCUMENTATION,
* notice, this list of conditions and the following disclaimer.
* included in the top-level directory of this release.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. Neither the name of The Internet Software Consortium nor the names
* of its contributors may be used to endorse or promote products derived
* from this software without specific prior written permission.
*
*
* Support and other services are available for ISC products - see
* THIS SOFTWARE IS PROVIDED BY THE INTERNET SOFTWARE CONSORTIUM AND
* http://www.isc.org for more information.
* CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES,
* INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
* DISCLAIMED. IN NO EVENT SHALL THE INTERNET SOFTWARE CONSORTIUM OR
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
* USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
* OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* This software has been written for the Internet Software Consortium
* by Ted Lemon in cooperation with Vixie Enterprises and Nominum, Inc.
* To learn more about the Internet Software Consortium, see
* ``http://www.isc.org/''. To learn more about Vixie Enterprises,
* see ``http://www.vix.com''. To learn more about Nominum, Inc., see
* ``http://www.nominum.com''.
*/
*/
#ifndef lint
#ifndef lint
static
char
ocopyright
[]
=
static
char
ocopyright
[]
=
"$Id: auth.c,v 1.
4 2000/03/06 19:38:19 mellon Exp $ Copyright 1995, 1996, 1997, 1998, 1999
The Internet Software Consortium."
;
"$Id: auth.c,v 1.
5 2000/03/17 03:59:00 mellon Exp $ Copyright 1998-2000
The Internet Software Consortium."
;
#endif
#endif
#include "dhcpd.h"
#include "dhcpd.h"
...
...
common/bpf.c
View file @
49733f31
...
@@ -3,26 +3,47 @@
...
@@ -3,26 +3,47 @@
BPF socket interface code, originally contributed by Archie Cobbs. */
BPF socket interface code, originally contributed by Archie Cobbs. */
/*
/*
* Copyright (c) 1996-1999 Internet Software Consortium.
* Copyright (c) 1996-2000 Internet Software Consortium.
* Use is subject to license terms which appear in the file named
* All rights reserved.
* ISC-LICENSE that should have accompanied this file when you
* received it. If a file named ISC-LICENSE did not accompany this
* file, or you are not sure the one you have is correct, you may
* obtain an applicable copy of the license at:
*
*
* http://www.isc.org/isc-license-1.0.html.
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
*
* This file is part of the ISC DHCP distribution. The documentation
* 1. Redistributions of source code must retain the above copyright
* associated with this file is listed in the file DOCUMENTATION,
* notice, this list of conditions and the following disclaimer.
* included in the top-level directory of this release.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. Neither the name of The Internet Software Consortium nor the names
* of its contributors may be used to endorse or promote products derived
* from this software without specific prior written permission.
*
*
* Support and other services are available for ISC products - see
* THIS SOFTWARE IS PROVIDED BY THE INTERNET SOFTWARE CONSORTIUM AND
* http://www.isc.org for more information.
* CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES,
* INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
* DISCLAIMED. IN NO EVENT SHALL THE INTERNET SOFTWARE CONSORTIUM OR
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
* USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
* OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* This software has been written for the Internet Software Consortium
* by Ted Lemon in cooperation with Vixie Enterprises and Nominum, Inc.
* To learn more about the Internet Software Consortium, see
* ``http://www.isc.org/''. To learn more about Vixie Enterprises,
* see ``http://www.vix.com''. To learn more about Nominum, Inc., see
* ``http://www.nominum.com''.
*/
*/
#ifndef lint
#ifndef lint
static
char
copyright
[]
=
static
char
copyright
[]
=
"$Id: bpf.c,v 1.3
4 2000/03/06 19:39:53 mellon Exp $ Copyright (c) 1995, 1996
The Internet Software Consortium. All rights reserved.
\n
"
;
"$Id: bpf.c,v 1.3
5 2000/03/17 03:59:00 mellon Exp $ Copyright (c) 1995-2000
The Internet Software Consortium. All rights reserved.
\n
"
;
#endif
/* not lint */
#endif
/* not lint */
#include "dhcpd.h"
#include "dhcpd.h"
...
...
common/conflex.c
View file @
49733f31
...
@@ -3,26 +3,47 @@
...
@@ -3,26 +3,47 @@
Lexical scanner for dhcpd config file... */
Lexical scanner for dhcpd config file... */
/*
/*
* Copyright (c) 1996-1999 Internet Software Consortium.
* Copyright (c) 1995-2000 Internet Software Consortium.
* Use is subject to license terms which appear in the file named
* All rights reserved.
* ISC-LICENSE that should have accompanied this file when you
* received it. If a file named ISC-LICENSE did not accompany this
* file, or you are not sure the one you have is correct, you may
* obtain an applicable copy of the license at:
*
*
* http://www.isc.org/isc-license-1.0.html.
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
*
* This file is part of the ISC DHCP distribution. The documentation
* 1. Redistributions of source code must retain the above copyright
* associated with this file is listed in the file DOCUMENTATION,
* notice, this list of conditions and the following disclaimer.
* included in the top-level directory of this release.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. Neither the name of The Internet Software Consortium nor the names
* of its contributors may be used to endorse or promote products derived
* from this software without specific prior written permission.
*
*
* Support and other services are available for ISC products - see
* THIS SOFTWARE IS PROVIDED BY THE INTERNET SOFTWARE CONSORTIUM AND
* http://www.isc.org for more information.
* CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES,
* INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
* DISCLAIMED. IN NO EVENT SHALL THE INTERNET SOFTWARE CONSORTIUM OR
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
* USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
* OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* This software has been written for the Internet Software Consortium
* by Ted Lemon in cooperation with Vixie Enterprises and Nominum, Inc.
* To learn more about the Internet Software Consortium, see
* ``http://www.isc.org/''. To learn more about Vixie Enterprises,
* see ``http://www.vix.com''. To learn more about Nominum, Inc., see
* ``http://www.nominum.com''.
*/
*/
#ifndef lint
#ifndef lint
static
char
copyright
[]
=
static
char
copyright
[]
=
"$Id: conflex.c,v 1.6
8 2000/03/06 20:08:05 mellon Exp $ Copyright (c) 1995, 1996, 1997, 1998, 1999
The Internet Software Consortium. All rights reserved.
\n
"
;
"$Id: conflex.c,v 1.6
9 2000/03/17 03:59:00 mellon Exp $ Copyright (c) 1995-2000
The Internet Software Consortium. All rights reserved.
\n
"
;
#endif
/* not lint */
#endif
/* not lint */
#include "dhcpd.h"
#include "dhcpd.h"
...
...
common/convert.c
View file @
49733f31
...
@@ -5,25 +5,46 @@
...
@@ -5,25 +5,46 @@
/*
/*
* Copyright (c) 1996-1999 Internet Software Consortium.
* Copyright (c) 1996-1999 Internet Software Consortium.
* Use is subject to license terms which appear in the file named
* All rights reserved.
* ISC-LICENSE that should have accompanied this file when you
* received it. If a file named ISC-LICENSE did not accompany this
* file, or you are not sure the one you have is correct, you may
* obtain an applicable copy of the license at:
*
*
* http://www.isc.org/isc-license-1.0.html.
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
*
* This file is part of the ISC DHCP distribution. The documentation
* 1. Redistributions of source code must retain the above copyright
* associated with this file is listed in the file DOCUMENTATION,
* notice, this list of conditions and the following disclaimer.
* included in the top-level directory of this release.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. Neither the name of The Internet Software Consortium nor the names
* of its contributors may be used to endorse or promote products derived
* from this software without specific prior written permission.
*
*
* Support and other services are available for ISC products - see
* THIS SOFTWARE IS PROVIDED BY THE INTERNET SOFTWARE CONSORTIUM AND
* http://www.isc.org for more information.
* CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES,
* INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
* DISCLAIMED. IN NO EVENT SHALL THE INTERNET SOFTWARE CONSORTIUM OR
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
* USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
* OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* This software has been written for the Internet Software Consortium
* by Ted Lemon in cooperation with Vixie Enterprises and Nominum, Inc.
* To learn more about the Internet Software Consortium, see
* ``http://www.isc.org/''. To learn more about Vixie Enterprises,
* see ``http://www.vix.com''. To learn more about Nominum, Inc., see
* ``http://www.nominum.com''.
*/
*/
#ifndef lint
#ifndef lint
static
char
copyright
[]
=
static
char
copyright
[]
=
"$Id: convert.c,v 1.1
1 1999/10/07 06:35:41 mellon Exp $ Copyright (c) 1995, 1996
The Internet Software Consortium. All rights reserved.
\n
"
;
"$Id: convert.c,v 1.1
2 2000/03/17 03:59:00 mellon Exp $ Copyright (c) 1996-1999
The Internet Software Consortium. All rights reserved.
\n
"
;
#endif
/* not lint */
#endif
/* not lint */
#include "dhcpd.h"
#include "dhcpd.h"
...
...
common/discover.c
View file @
49733f31
...
@@ -3,26 +3,47 @@
...
@@ -3,26 +3,47 @@
Network input dispatcher... */
Network input dispatcher... */
/*
/*
* Copyright (c) 1996-1999 Internet Software Consortium.
* Copyright (c) 1995-2000 Internet Software Consortium.
* Use is subject to license terms which appear in the file named
* All rights reserved.
* ISC-LICENSE that should have accompanied this file when you
* received it. If a file named ISC-LICENSE did not accompany this
* file, or you are not sure the one you have is correct, you may
* obtain an applicable copy of the license at:
*
*
* http://www.isc.org/isc-license-1.0.html.
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
*
* This file is part of the ISC DHCP distribution. The documentation
* 1. Redistributions of source code must retain the above copyright
* associated with this file is listed in the file DOCUMENTATION,
* notice, this list of conditions and the following disclaimer.
* included in the top-level directory of this release.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. Neither the name of The Internet Software Consortium nor the names
* of its contributors may be used to endorse or promote products derived
* from this software without specific prior written permission.
*
*
* Support and other services are available for ISC products - see
* THIS SOFTWARE IS PROVIDED BY THE INTERNET SOFTWARE CONSORTIUM AND
* http://www.isc.org for more information.
* CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES,
* INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
* DISCLAIMED. IN NO EVENT SHALL THE INTERNET SOFTWARE CONSORTIUM OR
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
* USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
* OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* This software has been written for the Internet Software Consortium
* by Ted Lemon in cooperation with Vixie Enterprises and Nominum, Inc.
* To learn more about the Internet Software Consortium, see
* ``http://www.isc.org/''. To learn more about Vixie Enterprises,
* see ``http://www.vix.com''. To learn more about Nominum, Inc., see
* ``http://www.nominum.com''.
*/
*/
#ifndef lint
#ifndef lint
static
char
copyright
[]
=
static
char
copyright
[]
=
"$Id: discover.c,v 1.2
4 2000/03/06 22:52:16 mellon Exp $ Copyright (c) 1995, 1996, 1998, 1999
The Internet Software Consortium. All rights reserved.
\n
"
;
"$Id: discover.c,v 1.2
5 2000/03/17 03:59:00 mellon Exp $ Copyright (c) 1995-2000
The Internet Software Consortium. All rights reserved.
\n
"
;
#endif
/* not lint */
#endif
/* not lint */
#include "dhcpd.h"
#include "dhcpd.h"
...
...
common/dispatch.c
View file @
49733f31
...
@@ -3,26 +3,47 @@
...
@@ -3,26 +3,47 @@
Network input dispatcher... */
Network input dispatcher... */
/*
/*
* Copyright (c) 1996-1999 Internet Software Consortium.
* Copyright (c) 1995-2000 Internet Software Consortium.
* Use is subject to license terms which appear in the file named
* All rights reserved.
* ISC-LICENSE that should have accompanied this file when you
* received it. If a file named ISC-LICENSE did not accompany this
* file, or you are not sure the one you have is correct, you may
* obtain an applicable copy of the license at:
*
*
* http://www.isc.org/isc-license-1.0.html.
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
*
* This file is part of the ISC DHCP distribution. The documentation
* 1. Redistributions of source code must retain the above copyright
* associated with this file is listed in the file DOCUMENTATION,
* notice, this list of conditions and the following disclaimer.
* included in the top-level directory of this release.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the