diff options
author | archie <archie@FreeBSD.org> | 1999-12-06 00:43:07 +0000 |
---|---|---|
committer | archie <archie@FreeBSD.org> | 1999-12-06 00:43:07 +0000 |
commit | a35284d781617f9cc0ed2732744007cbbd5b3e75 (patch) | |
tree | ed4ccc9be688881857acbd7860fc6783bdb2a34b /sys/netinet/ip_fw.h | |
parent | e4171de86a0a3c0ac24ac0ad201e38461964474b (diff) | |
download | FreeBSD-src-a35284d781617f9cc0ed2732744007cbbd5b3e75.zip FreeBSD-src-a35284d781617f9cc0ed2732744007cbbd5b3e75.tar.gz |
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
Diffstat (limited to 'sys/netinet/ip_fw.h')
-rw-r--r-- | sys/netinet/ip_fw.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/netinet/ip_fw.h b/sys/netinet/ip_fw.h index 07ac1bb..eb4a999 100644 --- a/sys/netinet/ip_fw.h +++ b/sys/netinet/ip_fw.h @@ -212,6 +212,9 @@ struct ip_fw_chain { */ #ifdef KERNEL +#define IP_FW_PORT_DYNT_FLAG 0x10000 +#define IP_FW_PORT_TEE_FLAG 0x20000 + /* * Function definitions. */ |