Skip to content

Commit

Permalink
fix documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
hannesm committed Feb 25, 2019
1 parent dc976b6 commit e18823c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/ipv6/ndpv6.mli
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,10 @@ val select_source : context -> ipaddr -> ipaddr

val handle : now:time -> random:(int -> Cstruct.t) -> context -> buffer ->
context * (Macaddr.t * int * (buffer -> int)) list * event list
(** [handle ~now ~random ctx buf] handles an incoming ipv6 packet. It returns [ctx',
bufs, evs] where [ctx'] is the updated context, [bufs] is a list of packets to
be sent and [evs] is a list of packets to be passed to the higher layers (udp,
tcp, etc) for further processing. *)
(** [handle ~now ~random ctx buf] handles an incoming ipv6 packet. It returns
[ctx', bufs, evs] where [ctx'] is the updated context, [bufs] is a list of
packets to be sent and [evs] is a list of packets to be passed to the higher
layers (udp, tcp, etc) for further processing. *)

val send : now:time -> context -> ipaddr -> Mirage_protocols.Ip.proto ->
int -> (buffer -> buffer -> int) -> context * (Macaddr.t * int * (buffer -> int)) list
Expand Down

0 comments on commit e18823c

Please sign in to comment.