Wireshark mailing list archives

Re: ipv6 address help


From: Guy Harris <guy () alum mit edu>
Date: Tue, 26 Jan 2010 12:44:23 -0800


On Jan 26, 2010, at 12:42 PM, Brian Oleksa wrote:

How do you actually get the ipv6 address..??

How do you use this function..??
void tvb_get_ipv6(tvbuff_t*, gint offset, struct e_in6_addr *addr);

        struct e_in6_addr addr;

        tvb_get_ipv6(tvb, offset, &addr);

which you'd only need to do if your dissector needs to do something to the address other than add it to the protocol 
tree.
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request () wireshark org?subject=unsubscribe


Current thread: