[dpdk-users] 答复: [dpdk-dev] IPV4/IPV6 TCP/UDP Pseudo Header Checksum APIs
lidejun1 at huawei.com
Sat Oct 20 08:14:01 CEST 2018
I mean DPDK APIs do not exclude ipv4 options or ipv6 extension headers, it is bug?
发件人: Shyam Shrivastav [mailto:shrivastav.shyam at gmail.com]
发送时间: 2018年10月20日 13:23
收件人: lidejun <lidejun1 at huawei.com>
抄送: users <users at dpdk.org>; dev at dpdk.org; Lichunhe (Cloud Networking) <lichunhe at huawei.com>; Wangliefeng <wangliefeng at huawei.com>
主题: Re: [dpdk-dev] IPV4/IPV6 TCP/UDP Pseudo Header Checksum APIs
Realized my answer is confusing, I meant to say that code is correct as pseudo ipv4/ipv6 headers for the purpose of checksum calculations doesn't include options or extension headers, see udp wiki or corresponding rfcs
On Sat, Oct 20, 2018 at 10:42 AM Shyam Shrivastav <shrivastav.shyam at gmail.com<mailto:shrivastav.shyam at gmail.com>> wrote:
that is correct , pseudo header doesn't include ipv4 options or ipv6 extension headers ..
On Sat, Oct 20, 2018 at 9:02 AM lidejun <lidejun1 at huawei.com<mailto:lidejun1 at huawei.com>> wrote:
Has anybody used the following two APIs calculating ipv4&ipv6 tcp/udp pseudo header checksum？
The ipv4 version does not exclude ip options and ipv6 version does not exclude extersion headers.
More information about the users