This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Reconstructed by Recolic Keghart. | |
* Nov 1, 2017 | |
* LICENSE := GPLv3 | |
*/ | |
#define STANDARD_SPEED 200 | |
#define SLOW_WHILE_AUTO_DRIVE 0.9 | |
int usual_speed = STANDARD_SPEED; | |
int bReverseMode = 0; | |
int bForceBoost = 0; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
uname -r | grep -E '^4\.(1[^\.]|9)' > /dev/null | |
(( $? == 1 )) && echo 'Linux kernel version must >= 4.9' && exit 1 | |
[[ `whoami` != root ]] && echo 'You must be root' && exit 1 | |
lsmod | grep bbr > /dev/null | |
(( $? == 1 )) && | |
modprobe tcp_bbr && |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <sys/mman.h> | |
#include <fcntl.h> | |
#include <pthread.h> | |
#include <unistd.h> | |
#include <sys/stat.h> | |
#include <string.h> | |
#include <stdint.h> | |
#include <stdlib.h> | |
#include <sys/types.h> |
NewerOlder