2016-01-03 20:30:57 +00:00
|
|
|
/* ipv6.h
|
2017-10-26 07:35:35 +00:00
|
|
|
* Definitions of IPv6 address-and-prefix structure, which is what an
|
|
|
|
* FT_IPV6 value is (even if there's no prefix in a packet, those
|
|
|
|
* values can be compared against an address+prefix in a filter
|
|
|
|
* expression).
|
2001-04-01 07:06:24 +00:00
|
|
|
*
|
2006-05-21 05:12:17 +00:00
|
|
|
* Wireshark - Network traffic analyzer
|
|
|
|
* By Gerald Combs <gerald@wireshark.org>
|
2001-04-01 07:06:24 +00:00
|
|
|
*
|
|
|
|
* Copyright 1998 Gerald Combs
|
|
|
|
*
|
|
|
|
* MobileIPv6 support added by Tomislav Borosa <tomislav.borosa@siemens.hr>
|
2002-08-28 20:41:00 +00:00
|
|
|
*
|
2018-02-08 16:59:17 +00:00
|
|
|
* SPDX-License-Identifier: GPL-2.0-or-later
|
2001-04-01 07:06:24 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __IPV6_UTILS_H__
|
|
|
|
#define __IPV6_UTILS_H__
|
|
|
|
|
2016-04-08 04:16:19 +00:00
|
|
|
#include <wsutil/inet_ipv6.h>
|
2001-04-01 07:06:24 +00:00
|
|
|
|
2011-09-07 11:19:25 +00:00
|
|
|
typedef struct {
|
2017-10-26 08:50:00 +00:00
|
|
|
ws_in6_addr addr;
|
2011-09-07 11:19:25 +00:00
|
|
|
guint32 prefix;
|
2016-01-03 23:05:13 +00:00
|
|
|
} ipv6_addr_and_prefix;
|
2011-09-07 11:19:25 +00:00
|
|
|
|
2001-04-01 07:06:24 +00:00
|
|
|
#endif /* __IPV6_UTILS_H__ */
|