package tcpip
OCaml TCP/IP networking stack, used in MirageOS
Install
Dune Dependency
Authors
Maintainers
Sources
tcpip-9.0.0.tbz
sha256=59377ed359080d8da94aec91474a533bad955c12be79827bec853ccb496d659a
sha512=3f2ed5cbd5bdcd9a664e9ee0b7dbfc65b0a698e6c4bb77ee6a85a139b18cdee24415d76fb821466a9aff2e390318a8657b83871768c259557f25684ab6ccf83b
doc/tcpip.icmpv4/Icmpv4_packet/Marshal/index.html
Module Icmpv4_packet.Marshal
Source
into_cstruct t buf ~payload
generates an ICMPv4 header from t
and writes it into buf
at offset 0. payload
is used to calculate the ICMPv4 header checksum, but is not included in the generated buffer. into_cstruct
may fail if the buffer is of insufficient size.
make_cstruct t ~payload
allocates, fills, and returns a Cstruct.t with the header information from t
. The payload is used to calculate the ICMPv4 header checksum, but is not included in the generated buffer. make_cstruct
allocates 8 bytes for the ICMPv4 header.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>