Vishvananda Ishaya
27f66da7b4
allow RouteDel to work on kernel routes
2015-07-27 09:32:07 -07:00
root
9cff812148
fixing issue with setting big endian
...
Signed-off-by: Srini Brahmaroutu <srbrahma@us.ibm.com>
2015-07-10 18:48:26 +00:00
Alexander Morozov
12f4097df1
Fix some style issues as suggested by golint
...
Signed-off-by: Alexander Morozov <lk4d4@docker.com>
2015-06-18 17:41:46 -07:00
Matthias Schmitz
fbbbc69580
Fix minor spelling error: Rename function Recieve to Receive.
2015-04-18 23:34:45 +02:00
Eugene Yakubovich
ae3e7dba57
added support for MACVLAN mode
2015-02-26 13:21:26 -08:00
Alexander Morozov
8bde0c8190
Use more accustomed way to define enums
...
Signed-off-by: Alexander Morozov <lk4d4@docker.com>
2015-02-12 11:16:19 -08:00
Alexander Morozov
e29807a4d5
Fix go vet errors
...
Signed-off-by: Alexander Morozov <lk4d4@docker.com>
2015-02-12 11:00:59 -08:00
Alexander Morozov
d710fe886a
IPVlan support
...
Signed-off-by: Alexander Morozov <lk4d4@docker.com>
2015-02-11 14:18:57 -08:00
Alexander Morozov
8ec30991b3
Add constansts for bridge configuration
...
Signed-off-by: Alexander Morozov <lk4d4@docker.com>
2015-02-09 12:41:31 -08:00
Dave Tucker
80a80badbd
Implement basic route get
functionality
...
This provides the basic functionality of the iproute2 `route get`
command. It allows you to query netlink for the route to a destination
IP.Net
While implementing I noticed that the `s.Receive()` function was hanging
after the netlink response was recieved, so I added an additional clause
to break from the loop and return the decoded message if the NLM_F_MULTI
flag is not set.
Signed-off-by: Dave Tucker <dave@dtucker.co.uk>
2015-01-11 18:15:59 +00:00
Eugene Yakubovich
ffab401087
gofmt: style violations have crept up
2014-10-28 17:22:52 -07:00
Eugene Yakubovich
33e8718673
arp and vxlan support added
2014-10-13 11:04:09 -07:00
Vishvananda Ishaya
14677ef60e
add missing file
2014-09-22 22:36:00 -07:00
Vishvananda Ishaya
116d8f6e86
Optimize byte order handling
2014-09-22 08:38:23 -07:00
Vishvananda Ishaya
1a26b9f251
Move all low level calls into nl subpackage
2014-09-18 19:04:48 -07:00