Added ifNameToIndex (if_nametoindex).
Added tests for AF_CAN. Tests are disabled by default as CAN_AF is not
available on all platforms.
Run AF_CAN tests when AF_CAN is supported.
Do not run CAN tests automatically as they make the automatic tests fail on Travis-ci.