歡迎您光臨本站 註冊首頁

linux 2.6 dev_get_by_name怎麼用啊,急求高手指點啊

←手機掃碼閱讀     火星人 @ 2014-03-22 , reply:0

我的內核版本是2.6的,裡面關於dev_get_by_name函數的參數多了一個:struct net *net
struct net_device *dev_get_by_name(struct net *net, const char *name)
以前的版本只有const char *name
求高手指點怎麼獲取dev! 非常感謝~~

[火星人 ] linux 2.6 dev_get_by_name怎麼用啊,急求高手指點啊已經有942次圍觀

http://coctec.com/docs/linux/show-post-101133.html