@@ -1,47 +0,0 @@
1−{ stdenv, buildPackages, fetchFromGitHub, perl, buildLinux, ... } @ args:
2−
3−buildLinux (rec {
4− mptcpVersion = "0.93";
5− modDirVersion = "4.9.60";
6− version = "${modDirVersion}-mptcp_v${mptcpVersion}";
7−
8− extraMeta = {
9− branch = "4.4";
10− maintainers = with stdenv.lib.maintainers; [ teto layus ];
11− };
12−
13− src = fetchFromGitHub {
14− owner = "multipath-tcp";
15− repo = "mptcp";
16− rev = "v${mptcpVersion}";
17− sha256 = "1irlppzvcmckrazs2c4vg6y8ji31552izc3wqabf401v57jvxcys";
18− };
19−
20− extraConfig = ''
21− IPV6 y
22− MPTCP y
23− IP_MULTIPLE_TABLES y
24−
25− # Enable advanced path-managers...
26− MPTCP_PM_ADVANCED y
27− MPTCP_FULLMESH y
28− MPTCP_NDIFFPORTS y
29− # ... but use none by default.
30− # The default is safer if source policy routing is not setup.
31− DEFAULT_DUMMY y
32− DEFAULT_MPTCP_PM default
33−
34− # MPTCP scheduler selection.
35− # Disabled as the only non-default is the useless round-robin.
36− MPTCP_SCHED_ADVANCED n
37− DEFAULT_MPTCP_SCHED default
38−
39− # Smarter TCP congestion controllers
40− TCP_CONG_LIA m
41− TCP_CONG_OLIA m
42− TCP_CONG_WVEGAS m
43− TCP_CONG_BALIA m
44−
45− '' + (args.extraConfig or "");
46−} // args)
47−