You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tailscale/net/tstun
Josh Bleecher Snyder c2202cc27c net/tstun: use mono.Time
There's a call to Now once per packet.
Move to mono.Now.

Though the current implementation provides high precision,
we document it to be coarse, to preserve the ability
to switch to a coarse monotonic time later.

Signed-off-by: Josh Bleecher Snyder <josh@tailscale.com>
3 years ago
..
fake.go go.mod: upgrade wireguard-windows, de-fork wireguard-go 4 years ago
ifstatus_noop.go go.mod: upgrade wireguard-windows, de-fork wireguard-go 4 years ago
ifstatus_windows.go go.mod: upgrade wireguard-windows, de-fork wireguard-go 4 years ago
tun.go net/tstun: add a debug envvar to override tun MTU. 4 years ago
tun_notwindows.go go.mod: upgrade wireguard-windows, de-fork wireguard-go 4 years ago
tun_windows.go go.mod: upgrade wireguard-windows, de-fork wireguard-go 4 years ago
wrap.go net/tstun: use mono.Time 3 years ago
wrap_test.go net/tstun: use mono.Time 3 years ago