libpcap 库使用(二)
2024-09-25 07:10:36
参考资料:
http://www.tcpdump.org/manpages/pcap.3pcap.html
分类介绍了该lib的函数
Opening a capture handle for reading
Selecting a link-layer header type for a live capture
Reading packets
Filters
Capture statistics
Opening a handle for writing captured packets
Writing packets
Injecting packets
Reporting errors
Getting library version information
总结:
注意函数是在什么时候调用,create--->active--->capature。
有些函数实在 create 之后,active 之前调用的,有些是在 active 之后 capature 之后调用的。
最新文章
- http://developer.51cto.com/art/200512/15883.htm
- C#中关键字ref修饰类对象或结构体[转]
- 使用PHPExcel导入导出excel格式文件
- PHP中的错误处理
- 关于C(m,n)%p的故事
- 防止tab页重复的去请求服务端
- Vue.js教程
- mysql表设计---时间类型
- 一个三维点类Gpoint3的实现
- Android基础_一次上传多张图片
- 快速沃尔什变换(FWT)及K进制异或卷积&;快速子集变换(FST)讲解
- 11076: 小P的集合 位运算
- bzoj1875 边点互换+矩乘
- Invalid character found in the request target.
- [JLOI2011]不重复数字
- (原创)odoo11.0 如何运行python单元测试
- org.springframework.dao.DuplicateKeyException
- yii 分页查询
- Spring获取application.properties
- web前端全栈学习之路