Page MenuHomeFreeBSD

Bring in some last changes in NAT64 implementation
AbandonedPublic

Authored by ae on Apr 16 2018, 12:25 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, May 12, 11:02 PM
Unknown Object (File)
Sun, May 12, 7:16 PM
Unknown Object (File)
Dec 29 2023, 2:06 PM
Unknown Object (File)
Dec 23 2023, 3:07 AM
Unknown Object (File)
Nov 6 2023, 11:38 AM
Unknown Object (File)
Oct 15 2023, 4:13 PM
Unknown Object (File)
Aug 19 2023, 12:08 AM
Unknown Object (File)
Jul 29 2023, 8:06 AM
Subscribers

Details

Reviewers
melifaro
hrs
Group Reviewers
network
Summary
o Modify ipfw(8) to be able set any prefix6 not just Well-Known,
  and also show configured prefix6;
o relocate some definitions and macros into proper place;
o convert nat64_debug and nat64_allow_private variables to be
  VNET-compatible;
o add struct nat64_config that keeps generic configuration needed
  to NAT64 code;
o add nat64_check_prefix6() function to check validness of specified
  by user IPv6 prefix according to RFC6052;
o use nat64_check_private_ip4() and nat64_embed_ip4() functions
  instead of nat64_get_ip4() and nat64_set_ip4() macros. This allows
  to use any configured IPv6 prefixes that are allowed by RFC6052;
o introduce NAT64_WKPFX flag, that is set when IPv6 prefix is
  Well-Known IPv6 prefix. It is used to reduce overhead to check this;
o modify nat64lsn_cfg and nat64stl_cfg structures to use nat64_config
  structure. And respectivelly modify the rest of code;
o remove now unused ro argument from nat64_output() function.

Diff Detail

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 16159
Build 16112: arc lint + arc unit