summaryrefslogtreecommitdiffhomepage
path: root/device.h
diff options
context:
space:
mode:
Diffstat (limited to 'device.h')
-rw-r--r--device.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/device.h b/device.h
index e71027e..6fceaa1 100644
--- a/device.h
+++ b/device.h
@@ -31,6 +31,7 @@ enum {
DEV_ATTR_MACADDR,
DEV_ATTR_TXQUEUELEN,
DEV_ATTR_ENABLED,
+ DEV_ATTR_IPV6,
__DEV_ATTR_MAX,
};
@@ -60,6 +61,7 @@ enum {
DEV_OPT_MTU = (1 << 0),
DEV_OPT_MACADDR = (1 << 1),
DEV_OPT_TXQUEUELEN = (1 << 2),
+ DEV_OPT_IPV6 = (1 << 3),
};
/* events broadcasted to all users of a device */
@@ -105,6 +107,7 @@ struct device_settings {
unsigned int mtu;
unsigned int txqueuelen;
uint8_t macaddr[6];
+ bool ipv6;
};
/*