Skip to content

Commit

Permalink
match socket API with direct API
Browse files Browse the repository at this point in the history
  • Loading branch information
crotsos committed Jan 4, 2013
1 parent 47b8c7f commit 0ff3500
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions socket/lib/manager.mli
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ val register_udpv4_listener : t -> ipv4_addr option * int -> Lwt_unix.file_descr
val get_udpv4_listener : t -> ipv4_addr option * int -> Lwt_unix.file_descr Lwt.t
val get_intf : interface -> string

val set_promiscuous: t -> id -> (id -> Cstruct.t -> unit Lwt.t) ->
val set_promiscuous: t -> id -> (id -> Ethif.packet -> unit Lwt.t) ->
unit
val inject_packet : t -> id -> Cstruct.t -> unit Lwt.t
val inject_packet : t -> id -> Frame.t -> unit Lwt.t
val get_intf_name : t -> id -> string
val get_intf_mac : t -> id -> ethernet_mac

2 changes: 2 additions & 0 deletions socket/lib/net.mlpack
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,5 @@ Flow
Datagram
Channel
Checksum
Frame
Ethif

0 comments on commit 0ff3500

Please sign in to comment.