Chinaunix's Archiver
论坛
›
内核源码
› Netfilter hook 中如何获得路由网关的mac
lantiaoxian
发表于 2016-08-03 15:06
Netfilter hook 中如何获得路由网关的mac
请问在Netfilter hook 中如何获得路由网关的mac,从A机器发送数据包到B机器,中间要通过路由,请问怎么获得路由的mac?能不能提供下代码,谢谢大家。
Godbach
发表于 2016-08-03 20:16
回复 1# lantiaoxian
我记得是有个二层转发表的。
页:
[1]
查看完整版本:
Netfilter hook 中如何获得路由网关的mac