net/sfc: generalise flow specification structure