diff options
author | Steven Barth <steven@midlink.org> | 2014-12-23 14:12:32 +0100 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2014-12-23 14:12:32 +0100 |
commit | 6b4570a107447034b5ae3861a7ca388d3052460a (patch) | |
tree | 5f65dc9775616c84d1e52c1d7c870244750addff /device.h | |
parent | 02713a50084b26a927d5d1f95455829d320aa4e1 (diff) |
netifd: Add mldversion config support
Config support to set the MLD host version on device level; possible values are :
1 : MLDv1
2 : MLDv2
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
Cleaned up and simplified.
Signed-off-by: Steven Barth <steven@midlink.org>
Diffstat (limited to 'device.h')
-rw-r--r-- | device.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -36,6 +36,7 @@ enum { DEV_ATTR_RPFILTER, DEV_ATTR_ACCEPTLOCAL, DEV_ATTR_IGMPVERSION, + DEV_ATTR_MLDVERSION, __DEV_ATTR_MAX, }; @@ -72,6 +73,7 @@ enum { DEV_OPT_RPFILTER = (1 << 5), DEV_OPT_ACCEPTLOCAL = (1 << 6), DEV_OPT_IGMPVERSION = (1 << 7), + DEV_OPT_MLDVERSION = (1 << 8), }; /* events broadcasted to all users of a device */ @@ -122,6 +124,7 @@ struct device_settings { unsigned int rpfilter; bool acceptlocal; unsigned int igmpversion; + unsigned int mldversion; }; /* |