diff options
author | Hans Dedecker <dedeckeh@gmail.com> | 2015-06-25 12:38:52 +0200 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2015-07-03 12:27:55 +0200 |
commit | 7dcacc6189ff255b87d9779facedfb15e140d0d3 (patch) | |
tree | 56eaec4698318c4ea8e4701a92fe1eeeeb917450 /device.h | |
parent | 5b29ffda0099c3bcb8d17a728e1e89dc21a2e68d (diff) |
netifd: Add dadtransmits config option
Config option dadtransmits allows to configure the amount of
Duplicate Address Detection probes to be sent
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
Diffstat (limited to 'device.h')
-rw-r--r-- | device.h | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -41,6 +41,7 @@ enum { DEV_ATTR_NEIGHREACHABLETIME, DEV_ATTR_RPS, DEV_ATTR_XPS, + DEV_ATTR_DADTRANSMITS, __DEV_ATTR_MAX, }; @@ -81,7 +82,8 @@ enum { DEV_OPT_NEIGHREACHABLETIME = (1 << 9), DEV_OPT_RPS = (1 << 10), DEV_OPT_XPS = (1 << 11), - DEV_OPT_MTU6 = (1 << 12), + DEV_OPT_MTU6 = (1 << 12), + DEV_OPT_DADTRANSMITS = (1 << 13), }; /* events broadcasted to all users of a device */ @@ -138,6 +140,7 @@ struct device_settings { unsigned int neigh6reachabletime; bool rps; bool xps; + unsigned int dadtransmits; }; /* |