Generalized Sketch Families for Network Traffic Measurement