Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-dev: Re: [Wireshark-dev] ipv6 address help

From: Guy Harris <guy@xxxxxxxxxxxx>
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.