add bandwidth as a service option for ppp (l2tp, pppoe)

This commit is contained in:
Daniel Barlow
2025-03-27 20:23:26 +00:00
parent dd44fbaec1
commit 46ed8f0199
5 changed files with 12 additions and 1 deletions

View File

@@ -56,6 +56,11 @@ in
default = null;
description = "password";
};
bandwidth = mkOption {
type = types.nullOr (types.int);
default = null;
description = "approximate bandwidth in bytes/second. Used to calculate rate limits for ICMP";
};
lcpEcho = {
adaptive = mkOption {
description = "send LCP echo-request frames only if no traffic was received from the peer since the last echo-request was sent";