summaryrefslogtreecommitdiffstats
path: root/lib/libssl/src
diff options
context:
space:
mode:
authormpi <mpi@openbsd.org>2015-10-07 10:50:35 +0000
committermpi <mpi@openbsd.org>2015-10-07 10:50:35 +0000
commit2d6ba272844404ee18c3ea79fa20f89140afb4f2 (patch)
tree529174c49d85123b5ed8aefa72311d614c0f6d61 /lib/libssl/src
parentCorrect handling of enum attributes with g++ (diff)
downloadwireguard-openbsd-2d6ba272844404ee18c3ea79fa20f89140afb4f2.tar.xz
wireguard-openbsd-2d6ba272844404ee18c3ea79fa20f89140afb4f2.zip
Initialize the routing table before domains.
The routing table is not an optional component of the network stack and initializing it inside the "routing domain" requires some ugly introspection in the domain interface. This put the rtable* layer at the same level of the if* level. These two subsystem are organized around the two global data structure used in the network stack: - the global &ifnet list, to be used in process context only, and - the routing table which can be read in interrupt context. This change makes the rtable_* layer domain-aware and extends the "struct domain" such that INET, INET6 and MPLS can specify the length of the binary key used in lookups. This allows us to keep, or move towards, AF-free route and rtable layers. While here stop the madness and pass the size of the maximum key length in *byte* to rn_inithead0(). ok claudio@, mikeb@
Diffstat (limited to 'lib/libssl/src')
0 files changed, 0 insertions, 0 deletions