aboutsummaryrefslogtreecommitdiffstats
path: root/epan/ipv6-utils.h
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2011-09-07 11:19:25 +0000
committerAnders Broman <anders.broman@ericsson.com>2011-09-07 11:19:25 +0000
commit21beb9c066e6258127fb371108c51c5cc17ace66 (patch)
tree2318672d09626ee6d23a732b517ac9c2d34d9034 /epan/ipv6-utils.h
parentd785c79f8823c505c85b642ec5289bb6ae7db996 (diff)
From Jakub Zawadzki :
Add support for prefix in IPv6 address filter. + missed file https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5538 svn path=/trunk/; revision=38917
Diffstat (limited to 'epan/ipv6-utils.h')
-rw-r--r--epan/ipv6-utils.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/epan/ipv6-utils.h b/epan/ipv6-utils.h
index 741755aff1..ce064ffcac 100644
--- a/epan/ipv6-utils.h
+++ b/epan/ipv6-utils.h
@@ -32,6 +32,11 @@ struct e_in6_addr {
guint8 bytes[16]; /**< 128 bit IP6 address */
};
+typedef struct {
+ struct e_in6_addr addr;
+ guint32 prefix;
+} ipv6_addr;
+
/**
* Unicast Scope
* Note that we must check topmost 10 bits only, not 16 bits (see RFC2373).