Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | tun/netstack: implement ICMP ping | Thomas H. Ptacek | 2022-02-01 | 1 | -0/+57 |
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> |