os_net

Some conversion and type changes for os_net