0

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...

4

1 回答 1

1

您可以尝试搜索所有项目,而不仅仅是苹果资源:http://code.metager.de/source/s?&sort=relevancy&defs=if_nametoindex&reset=true
freebsd 实现为例。

于 2013-06-14T05:49:05.593 回答