diff options
author | 2021-01-11 13:28:53 +0000 | |
---|---|---|
committer | 2021-01-11 13:28:53 +0000 | |
commit | 59caf3751c48b3d3e001b398791df835a1bcbd6c (patch) | |
tree | 45e25a2fde0e886c6e0c404b818ffe0a05517a72 /lib/libcxx/src/functional.cpp | |
parent | - grab fullpkgpath early (to decide: hard error if not provided) ? (diff) | |
download | wireguard-openbsd-59caf3751c48b3d3e001b398791df835a1bcbd6c.tar.xz wireguard-openbsd-59caf3751c48b3d3e001b398791df835a1bcbd6c.zip |
Create a path MTU host route for IPsec over IPv6. Basically the
code is copied from IPv4 and adapted. Some things are changed in
v4 to make it look similar.
- ip6_forward increases the noroute error counter, do that in
ip_forward, too.
- Pass more specific sockaddr_in6 to icmp6_mtudisc_clone().
- IPv6 may also use reject routes for IPsec PMTU clones.
- To pass a route_in6 to ip6_output_ipsec_send() introduce one in
ip6_forward(). That is the same what IPv4 does. Note
that dst and sin6 switch roles.
- Copy comments from ip_output_ipsec_send() to ip6_output_ipsec_send()
to make code similar.
- Implement dynamic IPv6 IPsec PMTU routes.
OK tobhe@
Diffstat (limited to 'lib/libcxx/src/functional.cpp')
0 files changed, 0 insertions, 0 deletions