Linux C based multi port software switch