Ai
1 Star 0 Fork 0

wangcichen/bpf-tcp-congestion-control-algorithm

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
compile_and_load.sh 328 Bytes
一键复制 编辑 原始数据 按行查看 历史
Amirhossein Roudgar 提交于 2023-06-02 23:46 +08:00 . feat: moved files to new src directory
#!/bin/bash
# compiling the bpf_cubic.c example file to created file descriptors for the tcp congestion struct_ops
clang-13 -target bpf -I/usr/include/$(uname -m)-linux-gnu -g -O2 -o bpf_cubic.o -c bpf_cubic.c
# loading the created bpf_cubic.o object file into kernel using bpftool
sudo bpftool struct_ops register bpf_cubic.o
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/wangcichen/bpf-tcp-congestion-control-algorithm.git
git@gitee.com:wangcichen/bpf-tcp-congestion-control-algorithm.git
wangcichen
bpf-tcp-congestion-control-algorithm
bpf-tcp-congestion-control-algorithm
main

搜索帮助