libnetlink binding for mruby
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src
.travis.yml
.travis_build_config.rb
README.md
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: