72584fd2c0
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.
9 lines
107 B
Makefile
9 lines
107 B
Makefile
# $FreeBSD$
|
|
|
|
.PATH: ${.CURDIR}/../../netinet
|
|
|
|
KMOD= ipdivert
|
|
SRCS= ip_divert.c
|
|
|
|
.include <bsd.kmod.mk>
|