
/*  CPS372 - Link State Routing Simulation
 *  Programming Assignment #2 
 *
 *  Simple routines to generate consistent output logs, printed to stdout.
 *
 */

#include <stdio.h>
#include <stdlib.h>


void ForwardUnicastPacket (int time_now, int destination, int nexthop) 
{
    printf ("FUP %d %d %d\n", time_now, destination, nexthop);
}



void DropUnicastPacket (int time_now, int destAddr) 
{
    printf ("DUP %d %d\n", time_now, destAddr);
}


