The header is now probably pointing at the Ethernet header, not the
IPv6 header.
That is how it should be.
Check if byte at offset 14 has first nibble set to 6. Remember it is
not the first byte that is 6. It is the first nibble of the byte.
Cheers
Ivan
Date: Sat, 22 Nov 2014 06:08:02 -0700 (MST)
From: mfkexpress <[email protected]>
To: [email protected]
Subject: Re: [lwip-users] How to explicitly set IP6 header version = 6
in outgoing packets
Message-ID: <[email protected]>
Content-Type: text/plain; charset=us-ascii
Yes, I've set netif->output_ip6 = ethip6_output and PBUF_LINK_HLEN =
14.
Also IP6H_VTCFL_SET(ip6hdr, 6, tc, 0); is being called in
ip6_output_if()
but just below this line when I checked condition:
if (IP6H_V(ip6hdr) != 6) {
Uart_Puts("IP6 Header Version is not 6\n");
}
I got above line printed on my output log which means it is not set to
6 and
also it remains "00" in outgoing packets.
Any help please...
Regards,
Mohsin
_______________________________________________
lwip-users mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/lwip-users