Commit Graph

18 Commits

Author SHA1 Message Date
Ian Gulliver
841abaa612 Multiplexing thread for the netlink socket to make the class thread safe. 2015-01-11 06:46:28 +00:00
Ian Gulliver
d0709b885c Add Query() 2015-01-10 16:39:24 +00:00
Ian Gulliver
d6bbc263ad Allow multiple instantiations of GenericNetlink 2015-01-10 16:37:52 +00:00
Ian Gulliver
5b9c67b260 Pass flags as a list of strings. 2015-01-10 16:29:51 +00:00
Ian Gulliver
52d7a6a5ca Clean up message type definitions. Remove extra class layer for message type. 2015-01-10 16:12:06 +00:00
Ian Gulliver
1afd52c1b2 Move attribute parsing down a level to make family definition simpler. 2015-01-10 16:01:02 +00:00
Ian Gulliver
af9828942d Swap command constants out for strings. 2015-01-10 15:54:54 +00:00
Ian Gulliver
e7d80945b4 Fix ugly family name/id mapping 2015-01-10 15:47:58 +00:00
Ian Gulliver
f88c78de06 Add padding on packed attributes. 2015-01-10 06:53:25 +00:00
Ian Gulliver
eed19490e9 Add GetIfIndex() 2015-01-10 06:49:17 +00:00
Ian Gulliver
1166963aee nl80211 named, pythonic queries 2015-01-10 06:35:04 +00:00
Ian Gulliver
0a1f6f04dc Full decode up the stack. 2015-01-09 06:38:56 +00:00
Ian Gulliver
f4c6a7bff2 Multi-message parsing in a generic netlink interface. 2015-01-09 06:21:00 +00:00
Ian Gulliver
9b6894b999 Remove targetlen, remove copying when extracting sub iterators. 2015-01-09 05:30:42 +00:00
Ian Gulliver
35c7f0beba Now parsing control headers. 2015-01-08 06:09:38 +00:00
Ian Gulliver
18e951ed8c Clean up some of the pack interface, especially attributes. Remove OrderedDict. 2015-01-08 04:19:10 +00:00
Ian Gulliver
485ad84b64 Enough serialization to generate a query that gets a working response. 2015-01-07 06:27:01 +00:00
Ian Gulliver
fc3bf6d59a Initial commit. 2015-01-06 06:00:55 +00:00