I'm traversing through a NET_BUFFER's MDL chain to get the associated data.
The two macros that are used to indicate where the used data space begins (NET_BUFFER_DATA_OFFSET()
& NET_BUFFER_CURRENT_MDL_OFFSET()
) got me a little confused, as I've always observed them returning the same value, and both seem equally usable.
Which one should be used? What's the difference between them?