summaryrefslogtreecommitdiffhomepage
path: root/conn/winrio
diff options
context:
space:
mode:
authorThomas H. Ptacek <thomas@sockpuppet.org>2022-01-31 16:55:36 -0600
committerJason A. Donenfeld <Jason@zx2c4.com>2022-02-02 23:09:37 +0100
commitb9669b734e30e717835ed44ea01f7ee7cdce5563 (patch)
tree8d4c0d9ad1cb99116250007e41d6b288ce254565 /conn/winrio
parente0b8f11489c57cbb38b12ae446cf41c4df6ac553 (diff)
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. 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 'conn/winrio')
0 files changed, 0 insertions, 0 deletions