A Virtual LAN prototype in C