support source/sink
 see LPEL_FLAGS for more detail