@@ -1,49 +0,0 @@
1−{ stdenv, buildPackages, fetchFromGitHub, perl, buildLinux, structuredExtraConfig ? {}, ... } @ args:
3− mptcpVersion = "0.94.4";
4− modDirVersion = "4.14.110";
7− version = "${modDirVersion}-mptcp_v${mptcpVersion}";
8− inherit modDirVersion;
12− maintainers = with stdenv.lib.maintainers; [ teto layus ];
15− src = fetchFromGitHub {
16− owner = "multipath-tcp";
18− rev = "v${mptcpVersion}";
19− sha256 = "1ng6p1djhm3m5g44yyq7gpqqbzsnhm9rimsafp5g4dx8cm27a70f";
22− structuredExtraConfig = with import ../../../../lib/kernel.nix { inherit (stdenv) lib; version = null; };
23− stdenv.lib.mkMerge [ {
26− IP_MULTIPLE_TABLES = yes;
28− # Enable advanced path-managers...
29− MPTCP_PM_ADVANCED = yes;
30− MPTCP_FULLMESH = yes;
31− MPTCP_NDIFFPORTS = yes;
32− # ... but use none by default.
33− # The default is safer if source policy routing is not setup.
35− DEFAULT_MPTCP_PM.freeform = "default";
37− # MPTCP scheduler selection.
38− MPTCP_SCHED_ADVANCED = yes;
39− DEFAULT_MPTCP_SCHED.freeform = "default";
41− # Smarter TCP congestion controllers
42− TCP_CONG_LIA = module;
43− TCP_CONG_OLIA = module;
44− TCP_CONG_WVEGAS = module;
45− TCP_CONG_BALIA = module;
47− structuredExtraConfig