A simple router written in C using mininet