diff options
author | Thomas H. Ptacek <thomas@sockpuppet.org> | 2022-01-31 16:55:36 -0600 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2022-02-01 20:16:42 +0100 |
commit | a702597e228006460b1b9f01fb9d8cc12327132f (patch) | |
tree | 1fb3df08ceb5b5f1388b69fc38cea896b7557de1 /src/helper_test.go | |
parent | e0b8f11489c57cbb38b12ae446cf41c4df6ac553 (diff) | |
download | wireguard-go-a702597e228006460b1b9f01fb9d8cc12327132f.tar.gz wireguard-go-a702597e228006460b1b9f01fb9d8cc12327132f.zip |
tun/netstack: implement ICMP ping
Provide a PacketConn interface for netstack's ICMP endpoint; netstack
currently only provides EchoRequest/EchoResponse ICMP support, so this
code exposes only an interface for doing ping.
Currently is missing:
- Write deadlines
- Context support
Signed-off-by: Thomas Ptacek <thomas@sockpuppet.org>
[Jason: rework structure, match std go interfaces, add example code]
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'src/helper_test.go')
0 files changed, 0 insertions, 0 deletions