added udrcp memory functions