Re: [vpp-dev] IPv6 packet total length

2019-06-10 Thread Ole Troan
Esin, > On 10 Jun 2019, at 11:15, Esin Erenoğlu wrote: > > Hi everyone, > > I need total length of ipv6 packet. In ip6_header_t struct, there is only > payload length. I added 40 bytes to payload but it failed. How can I reach > total length of ipv6? What does “failed” mean? Ole > -=-=-=

Re: [vpp-dev] IPv6 packet total length

2019-06-10 Thread Dave Barach via Lists.Fd.Io
vlib_buffer_length_in_chain(vm, b0) with b0->current_data pointing to the ip6 header. From: vpp-dev@lists.fd.io On Behalf Of Esin Erenoglu Sent: Monday, June 10, 2019 5:16 AM To: vpp-dev@lists.fd.io Subject: [vpp-dev] IPv6 packet total length Hi everyone, I need total length of ipv6 pac

[vpp-dev] IPv6 packet total length

2019-06-10 Thread Esin Erenoğlu
Hi everyone, I need total length of ipv6 packet. In ip6_header_t struct, there is only payload length. I added 40 bytes to payload but it failed. How can I reach total length of ipv6? -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#13243): https://l