]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
network: add network counter
authorChristian Brauner <christian.brauner@ubuntu.com>
Tue, 13 Jun 2017 22:42:06 +0000 (00:42 +0200)
committerChristian Brauner <christian.brauner@ubuntu.com>
Sun, 18 Jun 2017 09:53:34 +0000 (11:53 +0200)
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
src/lxc/conf.h

index 2ba1b4a11785a6a84181de699b01813cbce51036..fbe2e109ce866e3b088371e5f5b0bcc9a6324624 100644 (file)
@@ -121,8 +121,10 @@ union netdev_p {
  * @ipv6       : a list of ipv6 addresses to be set on the network device
  * @upscript   : a script filename to be executed during interface configuration
  * @downscript : a script filename to be executed during interface destruction
+ * @idx        : network counter
  */
 struct lxc_netdev {
+       unsigned int idx;
        int type;
        int flags;
        int ifindex;