= 1024" x-on:close-sidebar="sidebar=window.innerWidth >= 1024 && true">
package tcpip
-
icmpv4_socket
-
tcp_socket_options
-
tcpip
-
tcpip_icmpv4
-
tcpip_stack_direct
-
tcpip_stack_socket
-
tcpip_unix
-
tcpip_xen
-
tcpv4_socket
-
tcpv6_socket
-
udpv4_socket
-
udpv6_socket
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
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.