Ai
12 Star 1 Fork 12

src-openEuler/hping
关闭

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
hping-fix-netbpf-header.patch 724 Bytes
一键复制 编辑 原始数据 按行查看 历史
myeuler 提交于 2020-05-14 23:55 +08:00 . init package
diff -urN hping-master/libpcap_stuff.c hping-master-bak/libpcap_stuff.c
--- hping-master/libpcap_stuff.c 2014-12-26 22:31:29.000000000 +0800
+++ hping-master-bak/libpcap_stuff.c 2020-05-03 18:20:40.272372230 +0800
@@ -16,7 +16,7 @@
#include <string.h>
#include <stdlib.h>
#include <sys/ioctl.h>
-#include <net/bpf.h>
+#include <pcap-bpf.h>
#include <pcap.h>
#include "globals.h"
diff -urN hping-master/script.c hping-master-bak/script.c
--- hping-master/script.c 2014-12-26 22:31:29.000000000 +0800
+++ hping-master-bak/script.c 2020-05-03 18:20:53.661239114 +0800
@@ -23,7 +23,7 @@
#include <sched.h>
#include <sys/ioctl.h>
-#include <net/bpf.h>
+#include <pcap-bpf.h>
#include <pcap.h>
#include "release.h"
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-openeuler/hping.git
git@gitee.com:src-openeuler/hping.git
src-openeuler
hping
hping
master

搜索帮助