diff options
author | Ryan Thomas McBride <mcbride@cvs.openbsd.org> | 2002-11-23 05:16:59 +0000 |
---|---|---|
committer | Ryan Thomas McBride <mcbride@cvs.openbsd.org> | 2002-11-23 05:16:59 +0000 |
commit | 1691df433770a29ad8547bf930bf7b9429c95b7c (patch) | |
tree | 24ac668979a5ffd2d01a44df047124d1fd917bf3 /sys/net/if_ethersubr.c | |
parent | 8fe184e0dc67bbb715ddc837a35dc2877a2eb0c5 (diff) |
kernel code to allow multiple redirection addresses to be specified for nat
and rdr, as well as route-to, dup-to and reply-to.
Addresses can be allocated in a number of ways:
- masking out the network portion of the address and replacing it
- randomly assigning an address in the block
- hashing the source address and a key to determine the redirection address
- iterating through the addresses sequentially (this is the only allocation
scheme which works when a list of addresses is specified)
ok dhartmei@ henning@
Diffstat (limited to 'sys/net/if_ethersubr.c')
0 files changed, 0 insertions, 0 deletions