add linux util functions, but without ipv6