package tcpip
OCaml TCP/IP networking stack, used in MirageOS
Install
Dune Dependency
Authors
Maintainers
Sources
tcpip-8.0.2.tbz
sha256=d452e23f4e62c8b32c977f742e72c50fe673b82e23dc80b29d8263be764d2c72
sha512=9a4aeb5c7ec0392524d1d261026e5de047dec09054f2dca63d9743aed1d27ccfd655ae693554091b4ef7d9eabfeef218e71e8bf13ea8304ebedd8e8a7d4f484a
doc/tcpip.icmpv4-socket/Icmpv4_socket/index.html
Module Icmpv4_socket
Source
include Icmpv4.S
The type representing the internal state of the ICMP layer.
Disconnect from the ICMP layer. While this might take some time to complete, it can never result in an error.
The type for IP addresses.
The type for ICMP errors.
input t src dst buffer
reacts to the ICMP message in buffer
.
listen t addr fn
attempts to create an unprivileged listener on IP address addr
.
When a packet is received, the callback fn
will be called in a fresh background thread. The callback will be provided a buffer containing an IP datagram with an ICMP payload inside.
The thread returned by listen
blocks until the stack is disconnected.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>