# Matching multiple protocols on one flow

Hi everyone,

I am trying to program a flow that matches multiple protocols (e.g. tcp and udp). Is there a way to achieve this without creating two seperate flows and combining the results afterwards?

...
short ethertype = EtherTypes.IPv4.shortValue();
match.setField(new MatchField(MatchType.DL_TYPE, ethertype));