1996-02-06 12:52:26 +00:00
|
|
|
/* inet.h
|
|
|
|
|
|
|
|
Portable definitions for internet addresses */
|
|
|
|
|
|
|
|
/*
|
1999-03-16 05:50:46 +00:00
|
|
|
* Copyright (c) 1996-1999 Internet Software Consortium.
|
|
|
|
* Use is subject to license terms which appear in the file named
|
|
|
|
* 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:
|
1996-02-06 12:52:26 +00:00
|
|
|
*
|
1999-03-16 05:50:46 +00:00
|
|
|
* http://www.isc.org/isc-license-1.0.html.
|
1996-02-06 12:52:26 +00:00
|
|
|
*
|
1999-03-16 05:50:46 +00:00
|
|
|
* This file is part of the ISC DHCP distribution. The documentation
|
|
|
|
* associated with this file is listed in the file DOCUMENTATION,
|
|
|
|
* included in the top-level directory of this release.
|
1996-02-06 12:52:26 +00:00
|
|
|
*
|
1999-03-16 05:50:46 +00:00
|
|
|
* Support and other services are available for ISC products - see
|
|
|
|
* http://www.isc.org for more information.
|
1996-02-06 12:52:26 +00:00
|
|
|
*/
|
|
|
|
|
1996-04-11 06:47:50 +00:00
|
|
|
/* An internet address of up to 128 bits. */
|
|
|
|
|
1996-02-06 12:52:26 +00:00
|
|
|
struct iaddr {
|
|
|
|
int len;
|
1996-02-06 20:25:56 +00:00
|
|
|
unsigned char iabuf [16];
|
1996-02-06 12:52:26 +00:00
|
|
|
};
|
1997-06-02 23:24:32 +00:00
|
|
|
|
|
|
|
struct iaddrlist {
|
|
|
|
struct iaddrlist *next;
|
|
|
|
struct iaddr addr;
|
|
|
|
};
|