aboutsummaryrefslogtreecommitdiff
path: root/ratelimiter
diff options
context:
space:
mode:
authorJames Tucker <james@tailscale.com>2023-04-18 22:29:55 -0700
committerJason A. Donenfeld <Jason@zx2c4.com>2023-06-27 17:48:32 +0200
commit25eb973e00d2a5d69456c4156daafb8db56e7e0a (patch)
tree9213fbb3c1f59cafdad6c87ff2790fe43e94a362 /ratelimiter
parentb7cd547315bed421a648d0a0f1ee5a0fc1b1151e (diff)
downloadwireguard-go-25eb973e00d2a5d69456c4156daafb8db56e7e0a.tar.gz
wireguard-go-25eb973e00d2a5d69456c4156daafb8db56e7e0a.zip
conn: store IP_PKTINFO cmsg in StdNetendpoint src
Replace the src storage inside StdNetEndpoint with a copy of the raw control message buffer, to reduce allocation and perform less work on a per-packet basis. Signed-off-by: James Tucker <james@tailscale.com> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'ratelimiter')
0 files changed, 0 insertions, 0 deletions