class PacketHeaderConstraintsToAclLineMatchExprUtils {

  @Nullable
  static AclLineMatchExpr ipProtocolsToAclLineMatchExpr(@Nullable Set<IpProtocol> ipProtocols) {
    return Optional.ofNullable(ipProtocols)
        .map(k -> match(HeaderSpace.builder().setIpProtocols(k).build()))
        .orElse(null);
  }

  private  PacketHeaderConstraintsToAclLineMatchExprUtils();

}