Merge from head (better handling of non-clang building of picobsd)
Merge from head: sync the netmap code with the one in HEAD