Adding netflow gen functions