Hi Shiva,
> Forgot to add "reply-all", My apologies.
>
> Ole,
> >>> Right, so if you do not want to accept UDP zero checksum packets in your
> >>> application, add the check in your code.
> I Agree. Just curious to know the design choice.
>
> So, by design, VPP hands over the UDP packet to "registered node"
> irrespective of the payload.
> Is that correct?
Yes that's correct. The UDP dispatcher can obviously not know anything about
the UDP payload.
There is very little to UDP. The VPP local IP handling only provides a demux
point based on the destination port.
And IP reassembly.
The rest is up to the UDP application.
https://git.fd.io/vpp/tree/src/vnet/udp/udp_local.c#n57
Best regards,
Ole
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#15018): https://lists.fd.io/g/vpp-dev/message/15018
Mute This Topic: https://lists.fd.io/mt/69364719/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-