summaryrefslogtreecommitdiff
path: root/src/network/networkd-netdev-tunnel.h
diff options
context:
space:
mode:
authorSusant Sahani <ssahani@gmail.com>2015-08-31 13:21:44 +0530
committerSusant Sahani <ssahani@gmail.com>2015-08-31 13:21:44 +0530
commitb48288868a4ffb0157d1b6d60c3215d010efaad6 (patch)
tree3ec72484377ed70b73b9b41f6210469e8af02fe4 /src/network/networkd-netdev-tunnel.h
parent933f08ad7f2c5e75bb7a773a48a7f5f0bbbe0aa9 (diff)
networkd: add support for tunnel encap limit
The Tunnel Encapsulation Limit option specifies how many additional levels of encapsulation are permitted to be prepended to the packet
Diffstat (limited to 'src/network/networkd-netdev-tunnel.h')
-rw-r--r--src/network/networkd-netdev-tunnel.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/network/networkd-netdev-tunnel.h b/src/network/networkd-netdev-tunnel.h
index e4fa74aef4..fa7decce18 100644
--- a/src/network/networkd-netdev-tunnel.h
+++ b/src/network/networkd-netdev-tunnel.h
@@ -95,3 +95,9 @@ int config_parse_ipv6_flowlabel(const char *unit, const char *filename,
unsigned section_line, const char *lvalue,
int ltype, const char *rvalue, void *data,
void *userdata);
+
+int config_parse_encap_limit(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);