Number of interfaces limitation

Shane Kerr Shane_Kerr at isc.org
Wed Jul 19 12:46:08 UTC 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Glenn Satchell wrote:
> It used to be the case a few years ago that there was an internal array
> of a fixed size that limited the number of interfaces. I haven't heard
> of this as a problem for a long time, so perhaps it was changed to be
> dynamically allocated?

It is a linked list now; the server allocates memory for each interface
present on startup.

The code could be changed to use the poll() if someone really needed
more interfaces, as I'm pretty sure that select() is the limiting factor
now. Well, outside of any OS limitations on number of supported
interfaces (I assume we are talking about virtual interfaces or perhaps
aliases, and not actual hardware).

- --
Shane
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.4 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEvimPMsfZxBO4kbQRAtjrAJ4iUUmwywn21S4eFPYOBrqlw+LS0wCdF213
JD7P9sVelUL9O8MsT6nqeTk=
=GpAn
-----END PGP SIGNATURE-----


More information about the dhcp-users mailing list