diff options
| author | Roy Marples <roy@marples.name> | 2007-05-10 16:08:49 +0000 |
|---|---|---|
| committer | Roy Marples <roy@marples.name> | 2007-05-10 16:08:49 +0000 |
| commit | c3d07f4c70c363a63fc549364b2f11f276f2056b (patch) | |
| tree | 52c94b9ec375f4957ac5308ff4e1afd523e810ba /interface.h | |
| parent | 3b963f04a7bd0e30d4944e752a96edc8a5d41e29 (diff) | |
| download | dhcpcd-c3d07f4c70c363a63fc549364b2f11f276f2056b.tar.xz | |
Add support for RFC 4361
Diffstat (limited to 'interface.h')
| -rw-r--r-- | interface.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/interface.h b/interface.h index e3b25cf7..a5064852 100644 --- a/interface.h +++ b/interface.h @@ -31,6 +31,13 @@ #include <limits.h> #include <stdbool.h> +#include "config.h" +#ifdef ENABLE_DUID +#ifndef DUID_LENGTH_MAX +#define DUID_LENGTH_MAX 128 + 2 +#endif +#endif + #define EUI64_ADDR_LEN 8 #define INFINIBAND_ADDR_LEN 20 @@ -82,6 +89,11 @@ typedef struct interface_t route_t *previous_routes; long start_uptime; + +#ifdef ENABLE_DUID + unsigned char duid[DUID_LENGTH_MAX]; + int duid_length; +#endif } interface_t; void free_address (address_t *addresses); |
