1
0
mirror of https://github.com/vishvananda/netlink synced 2025-04-18 05:05:35 +00:00
Commit Graph

11 Commits

Author SHA1 Message Date
yandd
aa48b8cff0 Fix CalcRtable array parameter bug 2017-11-13 09:27:51 -08:00
Ian Bishop
0e3b74dbe2 replace syscall with golang.org/x/sys/unix 2017-10-26 09:45:08 -07:00
Vish Ishaya
0bc457d244 fix darwin build by moving code ()
Fixes issue 
2016-06-15 08:44:14 -07:00
Alessandro Boch
f116a3048a Use package empty handle for pkg APIs ()
- Package methods only need an empty handle.
  Not a regular Handle with a couple of
  sockets creation/delete.

Signed-off-by: Alessandro Boch <aboch@docker.com>
2016-05-09 16:55:00 -07:00
Alessandro Boch
14f41c27fa Provide netlink handle ()
- Ties to a netlink socket. All client requests
  will re-use same socket. Socket released at
  handle deletion.
- Also network namespace can be specified during
  handle creation. Socket will be opened on the
  specified network namespace.

Signed-off-by: Alessandro Boch <aboch@docker.com>
2016-05-08 11:35:49 -07:00
Vishvananda Ishaya
adb0f53af6 Cleanup from golint and go vet 2016-03-19 17:12:26 -07:00
chantra
d14228b8a5 Do not use nl specific types in class.go 2016-01-13 22:08:44 -08:00
chantra
683203e227 Make htb class work on older kernels (2.6) 2015-12-25 23:19:37 -08:00
chantra
bc12fcdc7f Add ClassReplace and ClassChange
Along with unittests
2015-11-14 23:16:33 -05:00
chantra
19a1f20ae8 [class] refactor class functions to use a common classModify function
This prevents duplicated code and make adding other commands such as replace, change easier
2015-11-13 22:51:07 -05:00
chantra
ef0cd12f0c Add TC Class support 2015-09-10 22:50:54 -07:00