Skip to content

Latest commit

 

History

History
32 lines (21 loc) · 417 Bytes

README.md

File metadata and controls

32 lines (21 loc) · 417 Bytes

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: