Wireshark-bugs: [Wireshark-bugs] [Bug 5538] ipv6.addr (etc) filter should be able to be specifie
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5538
Jakub Zawadzki <darkjames@xxxxxxxxxxxxxxxx> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |darkjames@xxxxxxxxxxxxxxxx
--- Comment #6 from Jakub Zawadzki <darkjames@xxxxxxxxxxxxxxxx> 2011-05-06 09:40:41 PDT ---
(In reply to comment #4)
> What is the best way to do this with IPv6 though?
> Wireshark typically handles IPv6 addresses as
> a string of 16 unsigned 8-bit bytes (guint8).
> A brief look at FreeBSD's kernel code shows that they can represent it
> as 4 32-bit unsigned integers or 8 16-bit unsigned integers (shorts)
> or 16 8-bit unsigned integers (char).
Hmm, if we use bigger type than guint8 this function should work faster with
bigger prefixes.
For example in /128, we'd compare 4 guint32 (or 2 guint64) instead of 16
guint8.
--
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.