Moved UDP defines to header for use by external code.