1999-03-10 20:49:38 +00:00
|
|
|
/* dhcpd.h
|
|
|
|
|
|
|
|
Definitions for dhcpd... */
|
|
|
|
|
|
|
|
/*
|
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:
|
1999-03-10 20:49:38 +00:00
|
|
|
*
|
1999-03-16 05:50:46 +00:00
|
|
|
* http://www.isc.org/isc-license-1.0.html.
|
1999-03-10 20:49:38 +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.
|
1999-03-10 20:49:38 +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.
|
1999-03-10 20:49:38 +00:00
|
|
|
*/
|
|
|
|
|
1999-03-16 05:50:46 +00:00
|
|
|
|
1999-03-10 20:49:38 +00:00
|
|
|
/* State structure for ongoing computation of a packet signature. */
|
|
|
|
|
|
|
|
struct signature_state {
|
|
|
|
u_int8_t *algorithm_state;
|
|
|
|
u_int8_t *output;
|
|
|
|
int output_len;
|
1999-07-13 18:00:22 +00:00
|
|
|
void (*update) PROTO ((u_int8_t *, u_int8_t *, u_int8_t *));
|
|
|
|
void (*final) PROTO ((u_int8_t *, u_int8_t *));
|
1999-03-10 20:49:38 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
struct auth_key {
|
1999-10-07 06:36:35 +00:00
|
|
|
unsigned length;
|
1999-03-10 20:49:38 +00:00
|
|
|
u_int8_t data [1];
|
|
|
|
};
|
|
|
|
|