09 2022 档案

摘要:1. struct iphdr *ip_header = (struct iphdr *)skb_network_header(skb); struct tcphdr *tcp_header = (struct tcphdr *)skb_transport_header(skb); 2. struc 阅读全文
posted @ 2022-09-20 13:35 salami_china 阅读(56) 评论(0) 推荐(0) 编辑
摘要:源码下载:https://github.com/github/glb-director.git 2018年8月8日,GitHub 发布了开源负载均衡组件 GitHub Load Balancer Director (GLB) Director,GLB 是 GitHub 针对裸机数据中心的可扩展负载均 阅读全文
posted @ 2022-09-18 10:14 salami_china 阅读(125) 评论(0) 推荐(0) 编辑
摘要:git clone --depth 1 https://github.com/libbpf/libbpf cd src sudo make install [root@junqiang src]# make install INSTALL bpf.h libbpf.h btf.h libbpf_co 阅读全文
posted @ 2022-09-16 23:38 salami_china 阅读(1686) 评论(0) 推荐(0) 编辑
摘要:问题:R1 !read_ok 10: (79) r8 = *(u64 *)(r6 +96) 11: (79) r3 = *(u64 *)(r6 +112) 12: (b7) r9 = 0 13: (73) *(u8 *)(r1 +0) = r9 R1 !read_ok 解决:赋值的变量需要进行初始化 阅读全文
posted @ 2022-09-06 20:32 salami_china 阅读(354) 评论(0) 推荐(0) 编辑
摘要:参考文档:https://www.cnblogs.com/rainbond/p/16130136.html 一:cilium 安装: cilium install --helm-set prometheus.enabled=true,operator.prometheus.enabled=true, 阅读全文
posted @ 2022-09-05 15:40 salami_china 阅读(221) 评论(0) 推荐(0) 编辑
摘要:参考链接:https://mozillazg.com/2022/07/ebpf-libbpf-what-is-load_byte-load_half-load_word.html 前言 大家在阅读一些网络相关的 ebpf 程序源码时可能会发现部分程序会使用 load_byte, load_half  阅读全文
posted @ 2022-09-01 11:06 salami_china 阅读(312) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示