Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Mar 2020 14:33:34 +0300
From:      Lev Serebryakov <lev@FreeBSD.org>
To:        freebsd-net@freebsd.org
Subject:   Re: IPFW In-Kernel NAT vs PF NAT Performance
Message-ID:  <2ea463e1-a1ee-defe-b640-ad45f56a4949@FreeBSD.org>
In-Reply-To: <55dbea1fe75777780be166756c7641e8@neelc.org>
References:  <fc638872b9bdf14c13e2d6c13e698d1e@neelc.org> <F154BCBA-4079-48CA-ACE9-F01FBCBD53D0@FreeBSD.org> <cb87cc92-59ff-119e-be43-41d51b94f7e9@FreeBSD.org> <55dbea1fe75777780be166756c7641e8@neelc.org>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--fcRpe1rKPRkoCJAblFgK1rerq4I0V0PLE
Content-Type: multipart/mixed; boundary="BVNY0lSl7Gas9yGnLbC7DlkUDjhwze7FW"

--BVNY0lSl7Gas9yGnLbC7DlkUDjhwze7FW
Content-Type: text/plain; charset=utf-8
Content-Language: en-US
Content-Transfer-Encoding: quoted-printable

On 19.03.2020 7:14, Neel Chauhan wrote:

> However, if you know, where in the code does libalias use only 4096
> buckets? I want to know incase I want/have to switch back to IPFW.
 4096 is my mistake, it is 4001 and must be prime. It is here:

sys/netinet/libalias/alias_local.h:69-70:

#define LINK_TABLE_OUT_SIZE        4001
#define LINK_TABLE_IN_SIZE         4001


--=20
// Lev Serebryakov


--BVNY0lSl7Gas9yGnLbC7DlkUDjhwze7FW--

--fcRpe1rKPRkoCJAblFgK1rerq4I0V0PLE
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQKTBAEBCgB9FiEE+W0coLX0MYtnSzMK6rA8WL/cR48FAl5zWI5fFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEY5
NkQxQ0EwQjVGNDMxOEI2NzRCMzMwQUVBQjAzQzU4QkZEQzQ3OEYACgkQ6rA8WL/c
R4/ezw/8CaLlmn2wzCOsnTeWVQY1u66ACQDPUgZGL/xV1b+yUkIDw6U4FKQtQ3Hy
SYFY7aDyf9nPZUefMtTeiAu+DxvxndZNqY9pbyZTUwbVm3cYG3qJvSfZHFfTe04Z
5Cu+IoRGQJEKTdUitWYdua+XM0GlhlmSWSszRYslpA4929qOhXcOjfoTjnqCA2gA
hyH/jyE0m9zpeM9V4Y78J+gsRh4tILxWSF7xnPnXllfWWY3aXRaAffR2AcY9Ag07
2pXun8gQ+R9cDAXZiGNXnJWFQi8jpd77Ji9ncCiyznc39c61DbrYxCco4vHfxUjF
h6oHUrHizH2c8PoB1MyKmobTxsn5o7zGVSNYudAC0kg1D87VMzF7m+bqCzy5Aiqa
8a0SgidX/T/VuuvjNFlsCpxF9/GO4AuxATmL/jet8sJ95LzSTn6f+Czkwsyyu/sU
IqsGonQ6xCwa0QOc87kBwyDzx/kp5d6WWxcdC075wlUWDIoNUP+vMd6xpSJ8xn4H
RY7TwiJC49XCfHet5jyXQBb8rBK0pGn0uux52wwdPGTkHyUUH6nFJL1sFqoTRoxM
WlTwQumLt6WJAjyoPL79zpSLC51Ri+i5Gm52QhjhxjDl1QLZjR97KUBKYlYxr4Gd
oSX+uN6bXLo5hLujxnh8nnfNGSpv3IFvjCj3J8fXzit3p/uWoYE=
=IXAN
-----END PGP SIGNATURE-----

--fcRpe1rKPRkoCJAblFgK1rerq4I0V0PLE--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2ea463e1-a1ee-defe-b640-ad45f56a4949>