separate out sting netlink code