Yes, exactly this way, just to exclude or include destination IP for topology hiding. I am not sure that there is a way to do it via internal flags, because the event socket for SREV_NET_DATA_OUT will be called from retransmission function in the tm module and in this case you don't have sip_msg structure anymore.