用于路由的数据包生成

发布于 2024-10-03 14:35:30 字数 181 浏览 2 评论 0原文

作为课程作业的一部分,我正在更改内核的 ip 查找代码,我已经进行了更改,并且我想测试它.. 我应该如何为这些 ip 查找生成数据.. 将 /proc/sys/net/ip_forward 更改为 1 可以帮助我生成我想要的数据吗?

换句话说,我在内核中具有不同的 ip 查找实现集,我想收集这些实现的统计信息,我应该如何去做..

As part of a coursework i am changing the kernel's ip lookup code, i have made the changes and i would like to test it ..
how should i go about generating data for these ip lookups .. will changing /proc/sys/net/ip_forward to 1 help me generate the data i want ??

In other words, i have different sets of implementation for ip lookup in kernel and i would like to collect the statistics for these implementations , how should i go about it ..

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

假扮的天使 2024-10-10 14:35:30

你能说得更具体一些吗?如果您想轻松生成网络数据/流,您可以使用 iperf,如果您想在网络流量进入/离开具有修改内核的计算机时监控网络流量,则可以使用wireshark。

如果您更具体,那么我可以提供更多帮助。

Can you be more specific? If you want to generate network data/flow easily you can use iperf, if you want to monitor network traffic as its entering/leaving a machine with your modified kernel then use wireshark.

If you are more specific, then I can help more.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文