Forum Discussion
Altera_Forum
Honored Contributor
15 years agoBSP Content Linking while upgrading Niche UDP Offload Ethernet Example to 10.1
Hi Guys, I'm trying to upgrade the UDP offload example to 10.1 both to give to the community and to use as part of my Uni project (this is a very tiny part). I need to get the UDP offload ex...
Altera_Forum
Honored Contributor
15 years agoHey Tennill,
The payload length is- LINE 60: shown on the comments diagram with comment underneath.
- LINE 293: Taken combinationally from sink data with 8 added. This is to define the UDP header. (shown on LINE 50) note: THis is where its only reading 2 bytes in, which would be limiting the size of your packets yeah?
- LINE 295: Then added with 20 to become the length of of the total IP packet. (shown on LINE 17).