Interplanetary type II radio bursts and their association with CMEs and flares