Hemant,

I think you meant a negative 14, since the buffer points to the start of the IP 
header, and we need to go backwards the size of the Ethernet header. Is there a 
programmatic way to set the buffer to point to the start of the data, without 
knowing the packet structure? offset calculations can be complicated when there 
are various encapsulation protocols.
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#19175): https://lists.fd.io/g/vpp-dev/message/19175
Mute This Topic: https://lists.fd.io/mt/81938105/21656
Group Owner: [email protected]
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to