diff options
author | Hans Dedecker <dedeckeh@gmail.com> | 2014-09-29 15:36:04 +0000 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2014-09-29 19:58:10 +0200 |
commit | 8e15f409e000ffdd87d1022390e54f14da839b3f (patch) | |
tree | 3e01ac0abb6a98d386298ef125dfd312ea0e8bcf /system.c | |
parent | b965453c9df60f1c2681c3bfb7e8cff671c4b223 (diff) |
netifd: GRE Tos support
Tos support is added as a generic gre parameter which can have the following values :
-inherit (outer header inherits the tos value of the inner header)
-hex value
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
Diffstat (limited to 'system.c')
-rw-r--r-- | system.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -22,6 +22,7 @@ static const struct blobmsg_policy tunnel_attrs[__TUNNEL_ATTR_MAX] = { [TUNNEL_ATTR_MTU] = { .name = "mtu", .type = BLOBMSG_TYPE_INT32 }, [TUNNEL_ATTR_DF] = { .name = "df", .type = BLOBMSG_TYPE_BOOL }, [TUNNEL_ATTR_TTL] = { .name = "ttl", .type = BLOBMSG_TYPE_INT32 }, + [TUNNEL_ATTR_TOS] = { .name = "tos", .type = BLOBMSG_TYPE_STRING }, [TUNNEL_ATTR_6RD_PREFIX] = {.name = "6rd-prefix", .type = BLOBMSG_TYPE_STRING }, [TUNNEL_ATTR_6RD_RELAY_PREFIX] = { .name = "6rd-relay-prefix", .type = BLOBMSG_TYPE_STRING }, [TUNNEL_ATTR_LINK] = { .name = "link", .type = BLOBMSG_TYPE_STRING }, |