如何将原始数据包转换为ippackets或其他任何数据包???? [英] how to convert raw packet into ippackets or any ohther packets?????

查看:61
本文介绍了如何将原始数据包转换为ippackets或其他任何数据包????的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用SharpPcap库捕获数据包,因此如何将原始数据包转换为ippackets或其他任何数据包???????????捕获的原始数据包中的其他信息?
那么您需要解析从以太网开始的所有标头,然后是IP等.您可以从以太网 [ ^ ], IPv4 [ ^ ]等.


i am using SharpPcap library to capture packet so how to convert raw packet into ippackets or any ohther packets?????

解决方案

you mean you need ip and other information from the raw packets captured?
then you need to parse all the headers starting from Ethernet, then IP and so on. You can get the header information from Ethernet[^], IPv4[^] etc.


这篇关于如何将原始数据包转换为ippackets或其他任何数据包????的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆