目录方法 1:使用 ip 命令方法 2:检查 /sys/class/net 目录方法 3:使用 ethtool 命令方法 4:检查 /proc/net/dev 或 dmesg 日志说明总结在 linux 中,可以通过以下方法查看网络设备类型是 TUN 还是 TAP:
I recently inherited a large codebase and am having to read it.The thing is, I\'ve usually been the dev starting a project.As a result, I don\'t have a lot of experience reading code.