pkg: add a function to generate chain names
authorAbhishek Chanda <abhishek.becs@gmail.com>
Wed, 23 Mar 2016 00:16:59 +0000 (17:16 -0700)
committerStefan Junker <mail@stefanjunker.de>
Thu, 31 Mar 2016 16:01:32 +0000 (18:01 +0200)
commitb87cf1ba9c0e51552300c8149e41f89e9d563dc0
tree9f705d5b9357aeb8af9a40673d9bc0f5b8d3176f
parentdc44feb5b57340d5934c3b5f8b155b74fb0a9133
pkg: add a function to generate chain names

Adds a function to generate chain names for use in iptables and
ports all drivers to use that function. Also adds tests for the
said function.
utils/utils.go [new file with mode: 0644]
utils/utils_suite_test.go [new file with mode: 0644]
utils/utils_test.go [new file with mode: 0644]