diff options
author | Johannes Kimmel <fff@bareminimum.eu> | 2020-09-04 04:59:42 +0200 |
---|---|---|
committer | Hans Dedecker <dedeckeh@gmail.com> | 2020-09-12 21:14:03 +0200 |
commit | 11223f5550f7dd8faefb85441065b682be16e61f (patch) | |
tree | 64ea0204e58faa107fb8afb585b231f9fa9f3451 /system.c | |
parent | 226566b967dc4ef4d83ed7844b8ad746f4306f8d (diff) |
netifd: vxlan: add most missing boolean options
adds the folloing missing options:
- learning
- rsc
- proxy
- l2miss
- l3miss
- gbp
See ip-link(3) for their meaning.
still missing:
- external
- gpe
I'm not sure how to handle them at the moment. It's unclear to me what
IFLA_VXLAN_* value corresponds to the 'external' option and according to
the manpage, gpe depends on it.
Signed-off-by: Johannes Kimmel <fff@bareminimum.eu>
Diffstat (limited to 'system.c')
-rw-r--r-- | system.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -40,6 +40,12 @@ static const struct blobmsg_policy vxlan_data_attrs[__VXLAN_DATA_ATTR_MAX] = { [VXLAN_DATA_ATTR_TXCSUM] = { .name = "txcsum", .type = BLOBMSG_TYPE_BOOL }, [VXLAN_DATA_ATTR_SRCPORTMIN] = { .name = "srcportmin", .type = BLOBMSG_TYPE_INT32 }, [VXLAN_DATA_ATTR_SRCPORTMAX] = { .name = "srcportmax", .type = BLOBMSG_TYPE_INT32 }, + [VXLAN_DATA_ATTR_LEARNING] = { .name = "learning", .type = BLOBMSG_TYPE_BOOL }, + [VXLAN_DATA_ATTR_RSC] = { .name = "rsc", .type = BLOBMSG_TYPE_BOOL }, + [VXLAN_DATA_ATTR_PROXY] = { .name = "proxy", .type = BLOBMSG_TYPE_BOOL }, + [VXLAN_DATA_ATTR_L2MISS] = { .name = "l2miss", .type = BLOBMSG_TYPE_BOOL }, + [VXLAN_DATA_ATTR_L3MISS] = { .name = "l3miss", .type = BLOBMSG_TYPE_BOOL }, + [VXLAN_DATA_ATTR_GBP] = { .name = "gbp", .type = BLOBMSG_TYPE_BOOL }, }; const struct uci_blob_param_list vxlan_data_attr_list = { |