Hi Ole,

Thanks for your reply again!!

Let me work on it!!

Regards,
Date

________________________________
寄件者: otr...@employees.org <otr...@employees.org>
寄件日期: 2020年7月23日 下午 09:48
收件者: Date Huang <tjjh89...@hotmail.com>
副本: vpp-dev@lists.fd.io <vpp-dev@lists.fd.io>
主旨: Re: 回覆: [vpp-dev] Do VPP NAT have Conntrack-like feature?

Hi Date,

> Actually, I have some idea to patch for Conntrack-like feature.
> But I think I will need some guideline to submit a patch.
> Could you kindly share some code or docs of "Port overloading with NAT ED" to 
> me? and I can refer it.
>
> I found some gerrit guide of it.
> It will help me to submit some patch.

The port allocation algo is here:
https://git.fd.io/vpp/tree/src/plugins/nat/in2out_ed.c#n194

The static mapping code is here:
https://git.fd.io/vpp/tree/src/plugins/nat/nat44_cli.c#n995

Cheers,
Ole
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#17064): https://lists.fd.io/g/vpp-dev/message/17064
Mute This Topic: https://lists.fd.io/mt/75746172/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to