Moved definitions of TX flags out of tx.h, separated TX flags from protocol flags.