diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2018-01-24 13:21:44 +0100 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2018-01-24 13:21:44 +0100 |
commit | af3cadb6a46ba93e8a729e71d82b176275931e62 (patch) | |
tree | 009b49da2953a40abfb6819d5806c6ef0023a333 /system.c | |
parent | fd5c399c01ceb1bbede3ae8b0e1daaa7652a6fa1 (diff) |
system-linux: VXLAN: add options to enable and disable UDP checksums
Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
Diffstat (limited to 'system.c')
-rw-r--r-- | system.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -36,6 +36,8 @@ static const struct blobmsg_policy vxlan_data_attrs[__VXLAN_DATA_ATTR_MAX] = { [VXLAN_DATA_ATTR_ID] = { .name = "id", .type = BLOBMSG_TYPE_INT32 }, [VXLAN_DATA_ATTR_PORT] = { .name = "port", .type = BLOBMSG_TYPE_INT32 }, [VXLAN_DATA_ATTR_MACADDR] = { .name = "macaddr", .type = BLOBMSG_TYPE_STRING }, + [VXLAN_DATA_ATTR_RXCSUM] = { .name = "rxcsum", .type = BLOBMSG_TYPE_BOOL }, + [VXLAN_DATA_ATTR_TXCSUM] = { .name = "txcsum", .type = BLOBMSG_TYPE_BOOL }, }; const struct uci_blob_param_list vxlan_data_attr_list = { |