DPDK usage discussions
 help / color / mirror / Atom feed
* How to calculate ICMPv6 checksum?
@ 2025-08-07 15:32 Gábor LENCSE
  2025-08-07 17:57 ` Stephen Hemminger
  0 siblings, 1 reply; 3+ messages in thread
From: Gábor LENCSE @ 2025-08-07 15:32 UTC (permalink / raw)
  To: users

Dear All,

I am working on adding ARP/NDP support to my SIIT / Stateful NAT64 
benchmarking tool, siitperf [1]. (So far, the ARP / NDP table entries 
had to be set manually at the device under test, as siitperf was not 
able to reply to ARP / NDP requests).

The ARP reply functionality seems to work fine, but I have a problem 
with NDP. As ICMPv6 messages contain checksum, I would need a function 
that computes it. However, I only found  the rte_ipv6_udptcp_cksum() 
function, but I did not find a similar one for calculating ICMPv6 checksum.

I have been checking the functions shown here: 
https://doc.dpdk.org/api/rte__ip6_8h.html

Could you please advise me about the function to use for ICMPv6 checksum 
calculation?

Best regards,

Gábor

[1] https://github.com/lencsegabor/siitperf


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-08-08 18:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-08-07 15:32 How to calculate ICMPv6 checksum? Gábor LENCSE
2025-08-07 17:57 ` Stephen Hemminger
2025-08-08 18:56   ` Gábor LENCSE

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).