Hi, https://wiki.fd.io/view/VPP/NAT NAT44 (vanilla/simple and endpoint-dependent mode) lazily delete expired sessions. When inserting to session lookup hash and bucket is full, expired session is overwritten.
Matus -----Original Message----- From: vpp-dev@lists.fd.io <vpp-dev@lists.fd.io> On Behalf Of Yuan Fan Sent: Thursday, December 6, 2018 2:19 PM To: vpp-dev@lists.fd.io Subject: [vpp-dev] Lookup in VPP NAT Hi, I am currently studying the VPP source code, and try to understand the specific implementation of your NAT plugin. I noticed that the NAT is using hash lookup in the release.md. I am asking about is that the kind of algorithm you use for the lookup in NAT and also how you handle the timeout in NAT. I would be really appreciated if you could help me understand more precisely! Thank you for your time! BR, Yuan.
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#11513): https://lists.fd.io/g/vpp-dev/message/11513 Mute This Topic: https://lists.fd.io/mt/28625769/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-