Commit Graph

9 Commits

Author SHA1 Message Date
Vish Ishaya 0bc457d244 fix darwin build by moving code (#138)
Fixes issue #135
2016-06-15 08:44:14 -07:00
Alessandro Boch f116a3048a Use package empty handle for pkg APIs (#117)
- 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 (#104)
- 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