Where can I find the implementation of if_nametoindex? It seems to be externed in net/if.h but searching through the source code I cannot find any hint on the implementation. A better question is, how would I find what library it is defined in etc...
问问题
977 次
1 回答
1
您可以尝试搜索所有项目,而不仅仅是苹果资源:http://code.metager.de/source/s?&sort=relevancy&defs=if_nametoindex&reset=true
以freebsd 实现为例。
于 2013-06-14T05:49:05.593 回答