summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/reallocarray.c
diff options
context:
space:
mode:
authormpi <mpi@openbsd.org>2014-05-08 09:28:08 +0000
committermpi <mpi@openbsd.org>2014-05-08 09:28:08 +0000
commitd8b371b3b2e4f4e3d8ec306e1aab0e76f0668d5c (patch)
tree1bd4a73c0746b8e646aa193600f365f937b66811 /lib/libc/stdlib/reallocarray.c
parentSend up and down keys for mouse wheel in alternate screen mode (when it (diff)
downloadwireguard-openbsd-d8b371b3b2e4f4e3d8ec306e1aab0e76f0668d5c.tar.xz
wireguard-openbsd-d8b371b3b2e4f4e3d8ec306e1aab0e76f0668d5c.zip
Introduce two new route flags: RTF_LOCAL and RTF_BROADCAST.
Nothing use them for the moment, but here is the plan: Since a route lookup is always necessary to output a packet it makes sense to store all the information regarding how the packet should be sent in the routing entry. This will save us some expensive lookups on address lists. But once we have all the information about our addresses in the routing table, we can even use it in the input path with the hope that the number of lookups in the forwarding case can be reduce to one. ok henning@, chris@
Diffstat (limited to 'lib/libc/stdlib/reallocarray.c')
0 files changed, 0 insertions, 0 deletions