tcpip

OCaml TCP/IP networking stack, used in MirageOS
Library tcpip_ipv4
Module Ipv4_packet
type t = {
src : Ipaddr.V4.t;
dst : Ipaddr.V4.t;
id : Cstruct.uint16;
off : Cstruct.uint16;
ttl : Cstruct.uint8;
proto : Cstruct.uint8;
options : Cstruct.t;
}
val pp : Format.formatter -> t -> unit
val equal : t -> t -> bool
type protocol = [
| `ICMP
| `TCP
| `UDP
]
module Unmarshal : sig ... end
module Marshal : sig ... end