libnetlink binding for mruby
C Ruby
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src
.travis.yml Add encrypt new webhook url Apr 9, 2014
.travis_build_config.rb Support travis CI Apr 8, 2014
README.md Change up down methods Jul 7, 2013
mrbgem.rake

README.md

Netlink class for mruby

mruby netlink class

install by mrbgems

  • add conf.gem line to build_config.rb
MRuby::Build.new do |conf|

    # ... (snip) ...

    conf.gem :git => 'https://github.com/matsumoto-r/mruby-netlink.git'
end

example

n = Netlink.new "eth1"

n.down
sleep 5
n.up

n.close

License

under the MIT License: