summaryrefslogtreecommitdiffstats
path: root/sys/modules/ipdivert
Commit message (Collapse)AuthorAgeFilesLines
* Convert IPDIVERT into a loadable module. This makes use of the dynamic ↵andre2004-10-191-0/+8
loadability of protocols. The call to divert_packet() is done through a function pointer. All semantics of IPDIVERT remain intact. If IPDIVERT is not loaded ipfw will refuse to install divert rules and natd will complain about 'protocol not supported'. Once it is loaded both will work and accept rules and open the divert socket. The module can only be unloaded if no divert sockets are open. It does not close any divert sockets when an unload is requested but will return EBUSY instead.
OpenPOWER on IntegriCloud