Permalink
Commits on Feb 7, 2015
  1. procket: set version to 0.5.1

    committed Feb 7, 2015
  2. Suppress informational messages from gen_server

    At some point, the erlang open_port mechanism for passing in file
    descriptors seems to have changed. When the fd is closed, an exit message
    is generated.
    
    It also seems that a port is opened for each fd:
    
        erlang:open_port({fd,1,1}, [binary,stream])
    
    One of the ports exits immediately.
    
    Modify the info callback to ignore exit messages.
    committed Feb 7, 2015
Commits on Nov 14, 2014
  1. Merge pull request #3 from arashbm/master

    adding applications and included_applications parameters
    committed Nov 14, 2014
  2. @arashbm

    Update tunctl.app.src

    arashbm committed Nov 14, 2014
  3. @arashbm

    Update tunctl.app.src

    arashbm committed Nov 14, 2014
Commits on Jan 28, 2014
Commits on Nov 10, 2013
  1. Increment version number

    Increment the version number to reflect recent changes:
    * adding of setopt, recv, ...
    * fix of controlling_process
    committed Nov 10, 2013
Commits on Nov 9, 2013
  1. vpwn: fix examples

    committed Nov 9, 2013
Commits on Nov 6, 2013
Commits on Nov 2, 2013
  1. br: enable debug output

    committed Nov 2, 2013
Commits on Nov 1, 2013
  1. recv: read from device using gen_server

    Add a way for devices set in {active,false} mode to read data via the
    gen_server.
    
    Devices in {active,true} mode receive data as messages. Imitate gen_tcp
    and return {error, einval} when an active device attempts recv/1,2.
    committed Nov 1, 2013
  2. send: support {active,false} mode

    Do the equivalent of write/2 if the tuntap interface is set for {active,
    false} mode instead of crashing.
    committed Nov 1, 2013
  3. Update README

    committed Nov 1, 2013
Commits on Oct 31, 2013
  1. tuncer: support flow control

    Add basic flow control using setopt/2 (note: it is setopt (singular) not
    setopts like in inet). The second argument to setopt/2 is a tuple.
    Currently supported:
    
    * {active, false} : disable the erlang port
    
    * {active, true} : select on the tuntap fd using an erlang port
    
    This allows the caller to temporarily stop receiving messages without
    closing the tuntap device.
    committed Oct 31, 2013
  2. br: simplify flooding logic

    committed Oct 30, 2013
  3. br: simplify flooding logic

    committed Oct 30, 2013
Commits on Oct 30, 2013
  1. Add an example of LXC bridging

    committed Oct 30, 2013
  2. tuncer: return errors from port

    Document the message tuples sent from tuncer.
    committed Oct 30, 2013
Commits on Jun 11, 2013
  1. @yamt

    minimum netbsd support

    minimum but enough for LINC's usage.
    yamt committed Jun 10, 2013
Commits on May 17, 2013
  1. Add {active, true} example

    Correct the passive mode (polling) example and add an example for creating
    an active mode device.
    committed May 17, 2013
Commits on Apr 19, 2013
  1. README cleanup

    committed Apr 19, 2013
  2. Convert macro to an arg

    committed Apr 19, 2013
  3. Copyright heartbeat

    committed Apr 19, 2013
  4. Update rebar URL

    committed Apr 19, 2013
Commits on Mar 30, 2012
Commits on Mar 29, 2012
Commits on Mar 17, 2012
  1. Add docs for example

    committed Mar 17, 2012
  2. Correct README

    committed Mar 17, 2012