tcpip

OCaml TCP/IP networking stack, used in MirageOS
Library tcpip_ipv4
Module Ipv4_common
val adjust_output_header : rng:( int -> Cstruct.t ) -> dmac:string -> tlen:Cstruct.uint16 -> Cstruct.t -> unit
val allocate_frame : src:Ipaddr.V4.t -> source:Macaddr.t -> dst:Ipaddr.V4.t -> proto:[ `ICMP | `TCP | `UDP ] -> Cstruct.t * int
val checksum : Cstruct.t -> Cstruct.t list -> int