]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[fd4o6] Added dhcp4o6.h definitions
authorFrancis Dupont <fdupont@isc.org>
Mon, 14 Sep 2015 13:54:14 +0000 (15:54 +0200)
committerFrancis Dupont <fdupont@isc.org>
Mon, 14 Sep 2015 13:54:14 +0000 (15:54 +0200)
src/lib/dhcp/dhcp4o6.h [new file with mode: 0644]

diff --git a/src/lib/dhcp/dhcp4o6.h b/src/lib/dhcp/dhcp4o6.h
new file mode 100644 (file)
index 0000000..8980809
--- /dev/null
@@ -0,0 +1,25 @@
+// Copyright (C) 2015  Internet Systems Consortium, Inc. ("ISC")
+//
+// Permission to use, copy, modify, and/or distribute this software for any
+// purpose with or without fee is hereby granted, provided that the above
+// copyright notice and this permission notice appear in all copies.
+//
+// THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
+// REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
+// AND FITNESS.  IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
+// INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
+// LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
+// OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
+// PERFORMANCE OF THIS SOFTWARE.
+
+#ifndef DHCP4O6_H
+#define DHCP4O6_H
+
+/* Offsets and sizes into interserver messages. */
+#define DHCP4O6_IFNAME_OFFSET  0
+#define DHCP4O6_IFNAME_SIZE   16
+#define DHCP4O6_RADDR_OFFSET  16
+#define DHCP4O6_RADDR_SIZE    16
+#define DHCP4O6_DHCP6_OFFSET  32
+
+#endif /* DHCP4O6_H */