File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -82,6 +82,8 @@ val get_pcap_packet_incl_len : Cstruct.t -> Cstruct.uint32
8282val set_pcap_packet_incl_len : Cstruct.t -> Cstruct.uint32 -> unit
8383val get_pcap_packet_orig_len : Cstruct.t -> Cstruct.uint32
8484val set_pcap_packet_orig_len : Cstruct.t -> Cstruct.uint32 -> unit
85+ val hexdump_pcap_packet_to_buffer : Buffer.t -> pcap_packet -> unit
86+ val hexdump_pcap_packet : Cstruct.t -> unit
8587
8688val sizeof_ethernet : int
8789val get_ethernet_dst : Cstruct.t -> Cstruct.t
Original file line number Diff line number Diff line change @@ -219,8 +219,8 @@ let output_hexdump _loc s =
219219
220220let output_hexdump_sig _loc s =
221221 < :sig_item<
222- value $ lid:" hexdump_" ^ s.name^ " _to_buffer" $ : Buffer. t -> $ lid:s.name $ -> unit ;
223- value $ lid:" hexdump_" ^ s.name$ : $ lid:s.name $ -> unit ;
222+ value $ lid:" hexdump_" ^ s.name^ " _to_buffer" $ : Buffer. t -> Cstruct. t -> unit ;
223+ value $ lid:" hexdump_" ^ s.name$ : Cstruct. t -> unit ;
224224 >>
225225
226226let output_struct _loc s =
You can’t perform that action at this time.
0 commit comments