package
Version:
v0.0.0-...-5c98b36
Opens a new window with list of versions in this module.
Published: Jun 23, 2022
License: MulanPSL-2.0
Opens a new window with license information.
Imports: 10
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
pcapraw 读取和写入网络接口的数据
此包依赖 pcap 库,如果是 windows 系统则需要安装 win10pcap,如果是 linux 系统需要安装 libpcap-dev。
windows系统使用 pcap 读取和写入网络接口,linux系统仅仅使用 pcap 编译 BPF,使用 github.com/mdlayher/raw
读取和写入网络接口。
实例
- gitee.com/sillyman/simpleUtil/network/arpresolve 使用 ARP 请求获取局域网内某个主机的MAC地址
Documentation
¶
Source Files
¶
Click to show internal directories.
Click to hide internal directories.