]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Miscellaneous fixes/cleanups relating to ipfw and divert(4):
authorarchie <archie@FreeBSD.org>
Mon, 6 Dec 1999 00:43:07 +0000 (00:43 +0000)
committerarchie <archie@FreeBSD.org>
Mon, 6 Dec 1999 00:43:07 +0000 (00:43 +0000)
commita35284d781617f9cc0ed2732744007cbbd5b3e75
treeed4ccc9be688881857acbd7860fc6783bdb2a34b
parente4171de86a0a3c0ac24ac0ad201e38461964474b
Miscellaneous fixes/cleanups relating to ipfw and divert(4):

- Implement 'ipfw tee' (finally)
- Divert packets by calling new function divert_packet() directly instead
  of going through protosw[].
- Replace kludgey global variable 'ip_divert_port' with a function parameter
  to divert_packet()
- Replace kludgey global variable 'frag_divert_port' with a function parameter
  to ip_reass()
- style(9) fixes

Reviewed by: julian, green
sys/netinet/ip_divert.c
sys/netinet/ip_fw.c
sys/netinet/ip_fw.h
sys/netinet/ip_input.c
sys/netinet/ip_output.c
sys/netinet/ip_var.h