package tcpip
OCaml TCP/IP networking stack, used in MirageOS
Install
Dune Dependency
Authors
Maintainers
Sources
tcpip-8.1.0.tbz
sha256=86ba5d92f9078bddc65312f63b5f4ce34fd2570d765433b23a226ab84d75a9c0
sha512=a348a597cf4ba1e19f7fc97d6d1cb980711d09b6944efacba91d23daf419fc8cb8a83a2d263bcc7b96ff5d37ad5dbfa4a3879db9ac4c0b35528b80acb87cf8f7
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)"
>