tw_error(TW_LOC,"\nRouter Receipt Verify: Codes Mapping Get LP Rel ID Failure - Terminal");
}
has_valid_connection=(s->router_id==(src_term_rel_id/s->params->num_cn));//a router can only receive a packet from a terminal if that terminal belongs to it
if(!has_valid_connection){
tw_error(TW_LOC,"\nRouter received packet from non-existent connection - Terminal\n");