summaryrefslogtreecommitdiff
path: root/wsutil/inet_ipv6.h
diff options
context:
space:
mode:
authorJoão Valverde <joao.valverde@tecnico.ulisboa.pt>2016-04-08 05:16:19 +0100
committerJoão Valverde <j@v6e.pt>2016-04-09 23:36:30 +0000
commitbf302d23c957e674f421cad627d1a3034a25e9f8 (patch)
tree09a4aaf07035c74e3f4a40dd482e86943e7b51e3 /wsutil/inet_ipv6.h
parentc39c365f863a1b83f16b67101d185eb0a151eb19 (diff)
downloadwireshark-bf302d23c957e674f421cad627d1a3034a25e9f8.tar.gz
Move a declaration to wsutil
This fixes the wsutil dependency on libwireshark. Change-Id: Ic82e769ce39ad0a8c800d371cfa6bd300849fee1 Reviewed-on: https://code.wireshark.org/review/14859 Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com> Reviewed-by: João Valverde <j@v6e.pt>
Diffstat (limited to 'wsutil/inet_ipv6.h')
-rw-r--r--wsutil/inet_ipv6.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/wsutil/inet_ipv6.h b/wsutil/inet_ipv6.h
new file mode 100644
index 0000000000..85a09e7105
--- /dev/null
+++ b/wsutil/inet_ipv6.h
@@ -0,0 +1,29 @@
+/* inet_ipv6.h
+ *
+ * Wireshark - Network traffic analyzer
+ * By Gerald Combs <gerald@wireshark.org>
+ * Copyright 1998 Gerald Combs
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ */
+
+#ifndef __INET_IPV6_H__
+#define __INET_IPV6_H__
+
+struct e_in6_addr {
+ guint8 bytes[16]; /**< 128 bit IP6 address */
+};
+
+#endif