summaryrefslogtreecommitdiffstats
path: root/src/tools/qdoc/qdocdatabase.cpp
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2015-08-11 15:21:30 -0700
committerThiago Macieira <thiago.macieira@intel.com>2015-08-16 18:12:39 +0000
commit1bf9cb44e24ba2d795e3c242276d07acb0e46322 (patch)
tree595004a031ed80c604be1ac2b3b33fbfff6b51ee /src/tools/qdoc/qdocdatabase.cpp
parent3bfba054cb310d06543b08b5efb88de9b34a992e (diff)
QNetworkInterface: prefer SIOCGIFINDEX over if_nametoindex
On Linux (on a bad system without getifaddrs), the ioctl for SIOCGIFINDEX should be faster than if_nametoindex. The ioctl on the already open socket will require one syscall, while if_nametoindex will require at least one more (to open the socket), probably more. Change-Id: I7de033f80b0e4431b7f1ffff13f9888bf2044105 Reviewed-by: Richard J. Moore <rich@kde.org>
Diffstat (limited to 'src/tools/qdoc/qdocdatabase.cpp')
0 files changed, 0 insertions, 0 deletions