yanet-platform / yanet

A high performance framework for forwarding traffic based on DPDK
Other
171 stars 18 forks source link

Add an offset for the interfaces ids in the dumped packets #111

Closed saushew closed 7 months ago

saushew commented 8 months ago

IFACE_ID_OFFSET is used to prevent a zero value from being used as an iface identifier in shared memory metadata, so a zero value becomes a marker that data has not been provided.