tcpip
OCaml TCP/IP networking stack, used in MirageOS
1024" x-on:close-sidebar="sidebar=window.innerWidth > 1024 && true">
package tcpip
-
icmpv4_socket
-
tcp_socket_options
-
tcpip
-
tcpip_arpv4
-
tcpip_ethif
-
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
Library tcpip_ethif
into_cstruct t buf
writes a 14-byte ethernet header representing t.ethertype
, t.src_mac
, and t.dst_mac
to buf
at offset 0. Returns Ok ()
on success and Error error
on failure. Currently, the only possibility for failure is a buf
too small to contain the header; to avoid this, provide a buffer of size at least 14.
ON THIS PAGE
No table of contents