diff options
author | Susant Sahani <ssahani@users.noreply.github.com> | 2016-06-14 22:41:57 +0530 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2016-06-14 19:11:57 +0200 |
commit | 1d7100298c2a696d99f6fbd6ab858762aeb51ac7 (patch) | |
tree | dc1dc5a4dab85277b7e1940222ad19b53e4bbe8f /src/network/networkd-netdev-tunnel.h | |
parent | 91bb59b4b18ef6417a2cb3d933d44f7e6920304d (diff) |
networkd: Tunnel add support to configure key for VTI/VTI6 (#3532)
fixes #3298
Diffstat (limited to 'src/network/networkd-netdev-tunnel.h')
-rw-r--r-- | src/network/networkd-netdev-tunnel.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/network/networkd-netdev-tunnel.h b/src/network/networkd-netdev-tunnel.h index 7d31e7b687..32a46bd82f 100644 --- a/src/network/networkd-netdev-tunnel.h +++ b/src/network/networkd-netdev-tunnel.h @@ -49,6 +49,10 @@ typedef struct Tunnel { unsigned tos; unsigned flags; + uint32_t key; + uint32_t ikey; + uint32_t okey; + union in_addr_union local; union in_addr_union remote; @@ -108,3 +112,8 @@ int config_parse_encap_limit(const char *unit, const char *filename, unsigned section_line, const char *lvalue, int ltype, const char *rvalue, void *data, void *userdata); +int config_parse_tunnel_key(const char *unit, const char *filename, + unsigned line, const char *section, + unsigned section_line, const char *lvalue, + int ltype, const char *rvalue, void *data, + void *userdata); |