diff options
Diffstat (limited to 'hosts/vidhar/network/pppoe.nix')
| -rw-r--r-- | hosts/vidhar/network/pppoe.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hosts/vidhar/network/pppoe.nix b/hosts/vidhar/network/pppoe.nix index da64b353..ff70cc0f 100644 --- a/hosts/vidhar/network/pppoe.nix +++ b/hosts/vidhar/network/pppoe.nix | |||
| @@ -70,8 +70,8 @@ in { | |||
| 70 | 70 | ||
| 71 | tc qdisc add dev "${pppInterface}" handle ffff: ingress | 71 | tc qdisc add dev "${pppInterface}" handle ffff: ingress |
| 72 | tc filter add dev "${pppInterface}" parent ffff: basic action ctinfo dscp 0x0000003f 0x00000040 action mirred egress redirect dev "ifb4${pppInterface}" | 72 | tc filter add dev "${pppInterface}" parent ffff: basic action ctinfo dscp 0x0000003f 0x00000040 action mirred egress redirect dev "ifb4${pppInterface}" |
| 73 | tc qdisc replace dev "ifb4${pppInterface}" root cake memlimit 128Mb overhead 35 mpu 74 regional diffserv4 bandwidth ${toString (builtins.floor (159 * 0.95))}mbit | 73 | tc qdisc replace dev "ifb4${pppInterface}" root cake memlimit 128Mb overhead 35 mpu 74 regional diffserv4 bandwidth ${toString (builtins.floor (177968 * 0.95))}kbit |
| 74 | tc qdisc replace dev "${pppInterface}" root cake memlimit 128Mb overhead 35 mpu 74 regional nat diffserv4 wash bandwidth ${toString (builtins.floor (36 * 0.95))}mbit | 74 | tc qdisc replace dev "${pppInterface}" root cake memlimit 128Mb overhead 35 mpu 74 regional nat diffserv4 wash bandwidth ${toString (builtins.floor (41216 * 0.95))}kbit |
| 75 | ''; | 75 | ''; |
| 76 | }; | 76 | }; |
| 77 | in "${app}/bin/${app.meta.mainProgram}"; | 77 | in "${app}/bin/${app.meta.mainProgram}"; |
