Chinaunix's Archiver
论坛
›
网络技术
› 基于linux 的交换机设备,怎么知道port 链接设备的mac地址
yzrzxp
发表于 2015-06-18 11:36
基于linux 的交换机设备,怎么知道port 链接设备的mac地址
基于linux 的交换机设备,怎么知道port 链接设备的mac地址
ken1980
发表于 2015-07-01 19:28
本帖最后由 ken1980 于 2015-07-01 19:28 编辑
br_dev_xmit(skb, dev),通过_br_fdb_get函数在网桥设备的地址学习hash表中查找skb的目的Mac地址所对应的dev
页:
[1]
查看完整版本:
基于linux 的交换机设备,怎么知道port 链接设备的mac地址