C port of Hessu's rip44d