nell - Linux netlink interface

nell provides a Rust interface to the Linux netlink subsystem including both low level messaging and a higher level API for accessing link, address, and routing information, socket diag info, etc.

Example

``` let mut sock = Socket::new(Route)?;

let mut msg = Message::::new(RTMGETLINK); msg.setflags(NLMFREQUEST | NLMFDUMP); msg.rtgenfamily = AFUNSPEC; sock.send(&msg)?;

while let Some(msg) = sock.recv::()? { let link = link(msg)?; println!("{:?}", link); } ```

License

Copyright (C) 2017 - Will Glozer

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License version 3 as published by the Free Software Foundation.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see https://www.gnu.org/licenses/.