C based flotsam and jetsom