package tcpip

  1. Overview
  2. Docs
val adjust_output_header : 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
OCaml

Innovation. Community. Security.