# 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(Family::ROUTE)?; let mut msg = Message::::new(RTM_GETLINK); msg.set_flags(NLM_F_REQUEST | NLM_F_DUMP); msg.rtgen_family = AF_UNSPEC; sock.send(&msg)?; while let Msg(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 .