charrua-core

DHCP wire frame encoder and decoder
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library charrua-core.wire
Module Util
val find_map : ( 'a -> 'b option ) -> 'a list -> 'b option
val filter_map : ( 'a -> 'b option ) -> 'a list -> 'b list
val finalize : ( unit -> 'a ) -> ( unit -> 'b ) -> 'a
val string_extend_if_le : string -> int -> string
val string_nul : string -> bool
val cstruct_copy_normalized : ( 'a -> string ) -> 'a -> string
val some_or_default : 'a option -> 'a -> 'a
val some_or_f : 'a option -> ( unit -> 'a ) -> 'a
val some_or_invalid : 'a option -> string -> 'a
val some_or_fail : 'a option -> string -> 'a
val find_some : ( unit -> 'a ) -> 'a option
val true_if_some : 'a option -> bool
val cons : 'a -> 'a list -> 'a list
val cons_if : bool -> 'a -> 'a list -> 'a list
val cons_if_some : 'a option -> 'a list -> 'a list
val cons_if_some_f : 'a option -> ( 'a -> 'b ) -> 'b list -> 'b list
val guard : bool -> 'a -> ( unit, 'a ) Result.result
val addr_in_range : Ipaddr.V4.t -> (Ipaddr.V4.t * Ipaddr.V4.t) -> bool