Move the tap_hdr definition into a separate header file.